Lines Matching refs:out_len
183 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_wrap() argument
193 *out_len = 0; in mbedtls_nist_kw_wrap()
300 *out_len = semiblocks * KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap()
325 unsigned char *output, size_t* out_len ) in unwrap() argument
334 *out_len = 0; in unwrap()
369 *out_len = ( semiblocks - 1 ) * KW_SEMIBLOCK_LENGTH; in unwrap()
387 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_unwrap() argument
394 *out_len = 0; in mbedtls_nist_kw_unwrap()
416 A, output, out_len ); in mbedtls_nist_kw_unwrap()
458 *out_len = KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_unwrap()
464 A, output, out_len ); in mbedtls_nist_kw_unwrap()
495 diff |= output[*out_len - KW_SEMIBLOCK_LENGTH + i]; in mbedtls_nist_kw_unwrap()
497 bad_padding |= output[*out_len - KW_SEMIBLOCK_LENGTH + i]; in mbedtls_nist_kw_unwrap()
510 *out_len = Plen; in mbedtls_nist_kw_unwrap()
521 memset( output, 0, *out_len ); in mbedtls_nist_kw_unwrap()
522 *out_len = 0; in mbedtls_nist_kw_unwrap()