Home
last modified time | relevance | path

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

/external/u-boot/lib/libavb/
Davb_crypto.c311 {.padding = NULL, .padding_len = 0, .hash_len = 0},
314 .padding_len = sizeof(padding_RSA2048_SHA256),
318 .padding_len = sizeof(padding_RSA4096_SHA256),
322 .padding_len = sizeof(padding_RSA8192_SHA256),
326 .padding_len = sizeof(padding_RSA2048_SHA512),
330 .padding_len = sizeof(padding_RSA4096_SHA512),
334 .padding_len = sizeof(padding_RSA8192_SHA512),
Davb_crypto.h99 size_t padding_len; member
Davb_vbmeta_image.c200 algorithm->padding_len); in avb_vbmeta_image_verify()
/external/avb/libavb/
Davb_crypto.c330 {.padding = NULL, .padding_len = 0, .hash_len = 0},
333 .padding_len = sizeof(padding_RSA2048_SHA256),
337 .padding_len = sizeof(padding_RSA4096_SHA256),
341 .padding_len = sizeof(padding_RSA8192_SHA256),
345 .padding_len = sizeof(padding_RSA2048_SHA512),
349 .padding_len = sizeof(padding_RSA4096_SHA512),
353 .padding_len = sizeof(padding_RSA8192_SHA512),
Davb_crypto.h118 size_t padding_len; member
Davb_vbmeta_image.c219 algorithm->padding_len); in avb_vbmeta_image_verify()
/external/vboot_reference/firmware/lib/cryptolib/
Drsa.c137 int padding_len; in RSAVerify() local
167 padding_len = padding_size_map[sig_type]; in RSAVerify()
173 if (SafeMemcmp(buf, padding, padding_len)) { in RSAVerify()
179 if (SafeMemcmp(buf + padding_len, hash, sig_len - padding_len)) { in RSAVerify()
/external/tensorflow/tensorflow/compiler/xla/
Dmetric_table_report.cc226 int64 padding_len = 1; in AppendTableRow() local
228 padding_len += max_metric_string_size - metric_string.size(); in AppendTableRow()
230 string padding(padding_len, ' '); in AppendTableRow()
/external/boringssl/src/crypto/cipher_extra/
De_tls.c223 unsigned padding_len = block_size - ((in_len + mac_len) % block_size); in aead_tls_seal_scatter() local
224 OPENSSL_memset(padding, padding_len - 1, padding_len); in aead_tls_seal_scatter()
226 padding, (int)padding_len)) { in aead_tls_seal_scatter()
/external/scapy/scapy/contrib/
Dhttp2.py1460 padding_len = self.getfieldval('padlen')
1464 ret = self.s_len - padding_len_len - padding_len
1540 padding_len = self.getfieldval('padlen')
1544 ret = self.s_len - padding_len_len - padding_len
1610 padding_len = self.getfieldval('padlen')
1619 - padding_len
1821 fld, padding_len = self.getfield_and_val('padlen')
1822 padding_len_len = fld.i2len(self, padding_len)
1828 - padding_len
/external/avb/libavb_atx/
Davb_atx_validate.c105 algorithm_data->padding_len)) { in verify_certificate()
403 algorithm_data->padding_len)) { in avb_atx_validate_unlock_credential()
/external/boringssl/src/ssl/
Dt1_lib.cc3125 size_t padding_len = 0; in ssl_add_clienthello_tlsext() local
3131 padding_len = 1; in ssl_add_clienthello_tlsext()
3133 header_len += 4 + padding_len; in ssl_add_clienthello_tlsext()
3143 if (padding_len != 0) { in ssl_add_clienthello_tlsext()
3144 header_len -= 4 + padding_len; in ssl_add_clienthello_tlsext()
3146 padding_len = 0x200 - header_len; in ssl_add_clienthello_tlsext()
3151 if (padding_len >= 4 + 1) { in ssl_add_clienthello_tlsext()
3152 padding_len -= 4; in ssl_add_clienthello_tlsext()
3154 padding_len = 1; in ssl_add_clienthello_tlsext()
3158 if (padding_len != 0) { in ssl_add_clienthello_tlsext()
[all …]
Dhandshake_server.cc1246 size_t padding_len = decrypt_len - premaster_secret.size(); in do_read_client_key_exchange() local
1249 for (size_t i = 2; i < padding_len - 1; i++) { in do_read_client_key_exchange()
1252 good &= constant_time_is_zero_8(decrypt_buf[padding_len - 1]); in do_read_client_key_exchange()
1256 good &= constant_time_eq_8(decrypt_buf[padding_len], in do_read_client_key_exchange()
1258 good &= constant_time_eq_8(decrypt_buf[padding_len + 1], in do_read_client_key_exchange()
1265 good, decrypt_buf[padding_len + i], premaster_secret[i]); in do_read_client_key_exchange()
Dhandshake_client.cc1489 size_t padding_len = in do_send_client_finished() local
1499 !CBB_add_bytes(&child, kZero, padding_len) || in do_send_client_finished()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c180 size_t padding_len = to_len - 3 - from_len; in RSA_padding_add_PKCS1_type_2() local
181 if (!rand_nonzero(to + 2, padding_len)) { in RSA_padding_add_PKCS1_type_2()
185 to[2 + padding_len] = 0; in RSA_padding_add_PKCS1_type_2()