Lines Matching refs:A

59     volatile const unsigned char *A = (volatile const unsigned char *) a;  in mbedtls_nist_kw_safer_memcmp()  local
68 unsigned char x = A[i], y = B[i]; in mbedtls_nist_kw_safer_memcmp()
167 static void calc_a_xor_t( unsigned char A[KW_SEMIBLOCK_LENGTH], uint64_t t ) in calc_a_xor_t()
172 A[i] ^= ( t >> ( ( sizeof( t ) - 1 - i ) * 8 ) ) & 0xff; in calc_a_xor_t()
268 unsigned char *A = output; in mbedtls_nist_kw_wrap() local
282 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
290 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()
291 calc_a_xor_t( A, t ); in mbedtls_nist_kw_wrap()
324 unsigned char A[KW_SEMIBLOCK_LENGTH], in unwrap()
341 memcpy( A, input, KW_SEMIBLOCK_LENGTH ); in unwrap()
348 calc_a_xor_t( A, t ); in unwrap()
350 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in unwrap()
358 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in unwrap()
391 unsigned char A[KW_SEMIBLOCK_LENGTH]; in mbedtls_nist_kw_unwrap() local
416 A, output, out_len ); in mbedtls_nist_kw_unwrap()
421 diff = mbedtls_nist_kw_safer_memcmp( NIST_KW_ICV1, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_unwrap()
455 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_unwrap()
464 A, output, out_len ); in mbedtls_nist_kw_unwrap()
470 diff = mbedtls_nist_kw_safer_memcmp( NIST_KW_ICV2, A, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_unwrap()
477 GET_UINT32_BE( Plen, A, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_unwrap()
527 mbedtls_platform_zeroize( A, sizeof( A ) ); in mbedtls_nist_kw_unwrap()