/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | havege.c | 162 WALK = hs->WALK; in havege_fill() 163 PT1 = hs->PT1; in havege_fill() 164 PT2 = hs->PT2; in havege_fill() 181 hs->PT1 = PT1; in havege_fill() 182 hs->PT2 = PT2; in havege_fill() 184 hs->offset[0] = 0; in havege_fill() 195 havege_fill( hs ); in mbedtls_havege_init() 200 if( hs == NULL ) in mbedtls_havege_free() 223 havege_fill( hs ); in mbedtls_havege_random() 225 val = hs->pool[hs->offset[0]++]; in mbedtls_havege_random() [all …]
|
A D | ssl_msg.c | 3130 for( offset = 0, hs_buf = &hs->buffering.hs[0]; in mbedtls_ssl_update_handshake_status() 4037 if( hs == NULL ) in ssl_load_buffered_message() 4073 hs_buf = &hs->buffering.hs[offset]; in ssl_load_buffered_message() 4086 hs_buf = &hs->buffering.hs[0]; in ssl_load_buffered_message() 4177 if( hs == NULL ) in ssl_buffer_message() 4221 hs_buf = &hs->buffering.hs[ recv_msg_seq_offset ]; in ssl_buffer_message() 4478 if( hs == NULL ) in ssl_free_buffered_record() 4506 if( hs == NULL ) in ssl_load_buffered_record() 4556 if( hs == NULL ) in ssl_buffer_future_record() 5909 if( hs == NULL ) in mbedtls_ssl_buffering_free() [all …]
|
A D | entropy_poll.c | 256 mbedtls_havege_state *hs = (mbedtls_havege_state *) data; in mbedtls_havege_poll() local 259 if( mbedtls_havege_random( hs, output, len ) != 0 ) in mbedtls_havege_poll()
|
A D | ssl_tls.c | 409 size_t nb, hs; in tls1_prf() local 429 hs = ( slen + 1 ) / 2; in tls1_prf() 431 S2 = secret + slen - hs; in tls1_prf() 452 ret = mbedtls_md_hmac_starts( &md_ctx, S1, hs ); in tls1_prf() 506 ret = mbedtls_md_hmac_starts( &md_ctx, S2, hs ); in tls1_prf()
|
/optee_os-3.20.0/core/kernel/ |
A D | tee_misc.c | 36 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen) in tee_b2hs() argument 44 hs[i * 2 + 1] = tee_b2hs_add_base(b[i] & 0xf); in tee_b2hs() 45 hs[i * 2] = tee_b2hs_add_base(b[i] >> 4); in tee_b2hs() 47 hs[blen * 2] = 0; in tee_b2hs() 52 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen) in tee_hs2b() argument 63 if (tee_hs2b_rem_base(hs[i * 2], &hi)) in tee_hs2b() 65 if (tee_hs2b_rem_base(hs[i * 2 + 1], &lo)) in tee_hs2b()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | hash.c | 175 hash_state hs; in hash_sha256_check() local 178 if (sha256_init(&hs) != CRYPT_OK) in hash_sha256_check() 180 if (sha256_process(&hs, data, data_size) != CRYPT_OK) in hash_sha256_check() 182 if (sha256_done(&hs, digest) != CRYPT_OK) in hash_sha256_check() 194 hash_state hs; in hash_sha512_256_compute() local 196 if (sha512_256_init(&hs) != CRYPT_OK) in hash_sha512_256_compute() 198 if (sha512_256_process(&hs, data, data_size) != CRYPT_OK) in hash_sha512_256_compute() 200 if (sha512_256_done(&hs, digest) != CRYPT_OK) in hash_sha512_256_compute()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | hash.c | 184 mbedtls_sha256_context hs; in hash_sha256_check() local 187 memset(&hs, 0, sizeof(hs)); in hash_sha256_check() 188 mbedtls_sha256_init(&hs); in hash_sha256_check() 189 mbedtls_sha256_starts(&hs, 0); in hash_sha256_check() 190 mbedtls_sha256_update(&hs, data, data_size); in hash_sha256_check() 191 mbedtls_sha256_finish(&hs, digest); in hash_sha256_check() 192 mbedtls_sha256_free(&hs); in hash_sha256_check()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | havege.h | 56 void mbedtls_havege_init( mbedtls_havege_state *hs ); 63 void mbedtls_havege_free( mbedtls_havege_state *hs );
|
A D | ssl_internal.h | 562 } hs[MBEDTLS_SSL_MAX_BUFFERED_HS]; member
|
/optee_os-3.20.0/core/include/kernel/ |
A D | tee_misc.h | 21 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen); 27 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen);
|
/optee_os-3.20.0/core/arch/arm/dts/ |
A D | stm32mp157c-ev1.dts | 374 st,tune-hs-dc-level = <2>; 376 st,enable-hs-rftime-reduction; 377 st,trim-hs-current = <15>; 378 st,trim-hs-impedance = <1>; 380 st,tune-hs-rx-offset = <2>; 385 st,tune-hs-dc-level = <2>; 387 st,enable-hs-rftime-reduction; 388 st,trim-hs-current = <15>; 389 st,trim-hs-impedance = <1>; 391 st,tune-hs-rx-offset = <2>;
|
A D | stm32mp15xx-dkx.dtsi | 707 st,tune-hs-dc-level = <2>; 709 st,enable-hs-rftime-reduction; 710 st,trim-hs-current = <15>; 711 st,trim-hs-impedance = <1>; 713 st,tune-hs-rx-offset = <2>; 719 st,tune-hs-dc-level = <2>; 721 st,enable-hs-rftime-reduction; 722 st,trim-hs-current = <15>; 723 st,trim-hs-impedance = <1>; 725 st,tune-hs-rx-offset = <2>;
|
A D | stm32mp15-pinctrl.dtsi | 2186 usbotg_hs_pins_a: usbotg-hs-0 {
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | cache_helpers_a64.S | 139 b.hs loop3_\_op 142 b.hs loop2_\_op
|