Searched refs:KW_SEMIBLOCK_LENGTH (Results 1 – 1 of 1) sorted by relevance
46 #define KW_SEMIBLOCK_LENGTH 8 macro124 static void calc_a_xor_t(unsigned char A[KW_SEMIBLOCK_LENGTH], uint64_t t) in calc_a_xor_t() argument146 unsigned char outbuff[KW_SEMIBLOCK_LENGTH * 2]; in mbedtls_nist_kw_wrap()147 unsigned char inbuff[KW_SEMIBLOCK_LENGTH * 2]; in mbedtls_nist_kw_wrap()154 if (out_size < in_len + KW_SEMIBLOCK_LENGTH) { in mbedtls_nist_kw_wrap()166 in_len % KW_SEMIBLOCK_LENGTH != 0) { in mbedtls_nist_kw_wrap()170 memcpy(output, NIST_KW_ICV1, KW_SEMIBLOCK_LENGTH); in mbedtls_nist_kw_wrap()171 memmove(output + KW_SEMIBLOCK_LENGTH, input, in_len); in mbedtls_nist_kw_wrap()177 if (out_size < in_len + KW_SEMIBLOCK_LENGTH + padlen) { in mbedtls_nist_kw_wrap()193 memcpy(output, NIST_KW_ICV2, KW_SEMIBLOCK_LENGTH / 2); in mbedtls_nist_kw_wrap()[all …]