Searched refs:KW_SEMIBLOCK_LENGTH (Results 1 – 1 of 1) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | nist_kw.c | 53 #define KW_SEMIBLOCK_LENGTH 8 macro 218 && in_len <= KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap() 244 memcpy( inbuff + KW_SEMIBLOCK_LENGTH, R2, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap() 254 memcpy( R2, outbuff + KW_SEMIBLOCK_LENGTH, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap() 255 R2 += KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap() 303 memmove( output, input + KW_SEMIBLOCK_LENGTH, ( semiblocks - 1 ) * KW_SEMIBLOCK_LENGTH ); in unwrap() 312 memcpy( inbuff + KW_SEMIBLOCK_LENGTH, R, KW_SEMIBLOCK_LENGTH ); in unwrap() 322 memcpy( R, outbuff + KW_SEMIBLOCK_LENGTH, KW_SEMIBLOCK_LENGTH ); in unwrap() 327 R -= KW_SEMIBLOCK_LENGTH; in unwrap() 352 unsigned char A[KW_SEMIBLOCK_LENGTH]; in mbedtls_nist_kw_unwrap() [all …]
|
Completed in 3 milliseconds