Searched refs:semiblocks (Results 1 – 1 of 1) sorted by relevance
191 size_t semiblocks = 0; in mbedtls_nist_kw_wrap() local259 semiblocks = ( ( in_len + padlen ) / KW_SEMIBLOCK_LENGTH ) + 1; in mbedtls_nist_kw_wrap()261 s = 6 * ( semiblocks - 1 ); in mbedtls_nist_kw_wrap()277 if( semiblocks < MIN_SEMIBLOCKS_COUNT ) in mbedtls_nist_kw_wrap()304 *out_len = semiblocks * KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap()310 memset( output, 0, semiblocks * KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_wrap()327 const unsigned char *input, size_t semiblocks, in unwrap() argument332 const size_t s = 6 * ( semiblocks - 1 ); in unwrap()340 if( semiblocks < MIN_SEMIBLOCKS_COUNT ) in unwrap()367 R = output + ( semiblocks - 2 ) * KW_SEMIBLOCK_LENGTH; in unwrap()[all …]
Completed in 3 milliseconds