Home
last modified time | relevance | path

Searched refs:padding_len (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/modes/
H A Dwrap128.c196 const size_t padding_len = padded_len - inlen; in CRYPTO_128_wrap_pad() local
224 memset(out + 8 + inlen, 0, padding_len); in CRYPTO_128_wrap_pad()
229 memset(out + inlen, 0, padding_len); /* Section 4.1 step 1 */ in CRYPTO_128_wrap_pad()
259 size_t padding_len; in CRYPTO_128_unwrap_pad() local
323 padding_len = padded_len - ptext_len; in CRYPTO_128_unwrap_pad()
324 if (CRYPTO_memcmp(out + ptext_len, zeros, padding_len) != 0) { in CRYPTO_128_unwrap_pad()
/openssl/ssl/statem/
H A Dstatem_clnt.c3969 size_t len, padding_len; in tls_construct_next_proto() local
3973 padding_len = 32 - ((len + 2) % 32); in tls_construct_next_proto()
3976 || !WPACKET_sub_allocate_bytes_u8(pkt, padding_len, &padding)) { in tls_construct_next_proto()
3981 memset(padding, 0, padding_len); in tls_construct_next_proto()

Completed in 15 milliseconds