Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 12 of 12) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_cipher.padding.data7 Set padding with AES-CBC
11 Set padding with AES-CFB
15 Set padding with AES-CTR
19 Set padding with CAMELLIA-CBC
23 Set padding with CAMELLIA-CFB
27 Set padding with CAMELLIA-CTR
31 Set padding with DES-CBC
35 Set padding with BLOWFISH-CBC
39 Set padding with BLOWFISH-CFB
43 Set padding with BLOWFISH-CTR
[all …]
Dtest_suite_cipher.blowfish.data61 BLOWFISH Encrypt and decrypt 0 bytes with one and zeros padding
65 BLOWFISH Encrypt and decrypt 1 byte with one and zeros padding
69 BLOWFISH Encrypt and decrypt 2 bytes with one and zeros padding
73 BLOWFISH Encrypt and decrypt 7 bytes with one and zeros padding
77 BLOWFISH Encrypt and decrypt 8 bytes with one and zeros padding
81 BLOWFISH Encrypt and decrypt 9 bytes with one and zeros padding
85 BLOWFISH Encrypt and decrypt 15 bytes with one and zeros padding
89 BLOWFISH Encrypt and decrypt 16 bytes with one and zeros padding
93 BLOWFISH Encrypt and decrypt 17 bytes with one and zeros padding
97 BLOWFISH Encrypt and decrypt 31 bytes with one and zeros padding
[all …]
Dtest_suite_cipher.des.data61 DES Encrypt and decrypt 0 bytes with one and zeros padding
65 DES Encrypt and decrypt 1 byte with one and zeros padding
69 DES Encrypt and decrypt 2 bytes with one and zeros padding
73 DES Encrypt and decrypt 7 bytes with one and zeros padding
77 DES Encrypt and decrypt 8 bytes with one and zeros padding
81 DES Encrypt and decrypt 9 bytes with one and zeros padding
85 DES Encrypt and decrypt 15 bytes with one and zeros padding
89 DES Encrypt and decrypt 16 bytes with one and zeros padding
93 DES Encrypt and decrypt 17 bytes with one and zeros padding
97 DES Encrypt and decrypt 31 bytes with one and zeros padding
[all …]
Dtest_suite_cipher.camellia.data61 CAMELLIA Encrypt and decrypt 0 bytes with one and zeros padding
65 CAMELLIA Encrypt and decrypt 1 byte with one and zeros padding
69 CAMELLIA Encrypt and decrypt 2 bytes with one and zeros padding
73 CAMELLIA Encrypt and decrypt 7 bytes with one and zeros padding
77 CAMELLIA Encrypt and decrypt 8 bytes with one and zeros padding
81 CAMELLIA Encrypt and decrypt 9 bytes with one and zeros padding
85 CAMELLIA Encrypt and decrypt 15 bytes with one and zeros padding
89 CAMELLIA Encrypt and decrypt 16 bytes with one and zeros padding
93 CAMELLIA Encrypt and decrypt 17 bytes with one and zeros padding
97 CAMELLIA Encrypt and decrypt 31 bytes with one and zeros padding
[all …]
Dtest_suite_cipher.aes.data65 AES Encrypt and decrypt 0 bytes with one and zeros padding
69 AES Encrypt and decrypt 1 byte with one and zeros padding
73 AES Encrypt and decrypt 2 bytes with one and zeros padding
77 AES Encrypt and decrypt 7 bytes with one and zeros padding
81 AES Encrypt and decrypt 8 bytes with one and zeros padding
85 AES Encrypt and decrypt 9 bytes with one and zeros padding
89 AES Encrypt and decrypt 15 bytes with one and zeros padding
93 AES Encrypt and decrypt 16 bytes with one and zeros padding
97 AES Encrypt and decrypt 17 bytes with one and zeros padding
101 AES Encrypt and decrypt 31 bytes with one and zeros padding
[all …]
Dtest_suite_rsa.data217 RSA PKCS1 Sign #8 (Invalid padding type)
220 RSA PKCS1 Sign #8 Verify (Invalid padding type)
239 RSA PKCS1 Encrypt #3 (Invalid padding mode)
242 RSA PKCS1 Decrypt #3 (Invalid padding mode)
/net-tools-2.7.6/mbedtls-2.4.0/library/
Drsa.c68 int padding, in mbedtls_rsa_init() argument
73 mbedtls_rsa_set_padding( ctx, padding, hash_id ); in mbedtls_rsa_init()
83 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id ) in mbedtls_rsa_set_padding() argument
85 ctx->padding = padding; in mbedtls_rsa_set_padding()
522 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V21 ) in mbedtls_rsa_rsaes_oaep_encrypt()
594 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V15 ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
656 switch( ctx->padding ) in mbedtls_rsa_pkcs1_encrypt()
701 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V21 ) in mbedtls_rsa_rsaes_oaep_decrypt()
816 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V15 ) in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
897 switch( ctx->padding ) in mbedtls_rsa_pkcs1_decrypt()
[all …]
Dssl_tls.c227 unsigned char padding[16]; in ssl3_prf() local
244 memset( padding, (unsigned char) ('A' + i), 1 + i ); in ssl3_prf()
247 mbedtls_sha1_update( &sha1, padding, 1 + i ); in ssl3_prf()
261 mbedtls_zeroize( padding, sizeof( padding ) ); in ssl3_prf()
1211 unsigned char padding[48]; in ssl_mac() local
1227 memset( padding, 0x36, padlen ); in ssl_mac()
1230 mbedtls_md_update( md_ctx, padding, padlen ); in ssl_mac()
1235 memset( padding, 0x5C, padlen ); in ssl_mac()
1238 mbedtls_md_update( md_ctx, padding, padlen ); in ssl_mac()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Drsa.h101 int padding; /*!< MBEDTLS_RSA_PKCS_V15 for 1.5 padding and member
138 int padding,
149 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id);
/net-tools-2.7.6/mbedtls-2.4.0/tests/
DMakefile60 test_suite_cipher.padding$(EXEXT) \
148 test_suite_cipher.padding.c : suites/test_suite_cipher.function suites/test_suite_cipher.padding.da…
150 perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.padding
276 test_suite_cipher.padding$(EXEXT): test_suite_cipher.padding.c $(DEP)
DCMakeLists.txt63 add_test_suite(cipher cipher.padding)
/net-tools-2.7.6/mbedtls-2.4.0/
DChangeLog87 * Fix missing padding length check in mbedtls_rsa_rsaes_pkcs1_v15_decrypt
773 * Very large records using more than 224 bytes of padding were incorrectly
775 * Very large records using less padding could cause a buffer overread of up
817 * Fix false reject in padding check in ssl_decrypt_buf() for CBC
1063 * Support for zeros-and-length (ANSI X.923) padding, one-and-zeros
1064 (ISO/IEC 7816-4) padding and zero padding in the cipher layer
1360 * Removed timing differences due to bad padding from
1367 * Debug messages about padding errors during SSL message decryption are
1375 ssl_decrypt_buf() due to badly formatted padding
1518 * Debug messages about padding errors during SSL message decryption are
[all …]