Home
last modified time | relevance | path

Searched refs:keylength (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dpkcs1.py165 keylength = common.byte_size(pub_key.n)
166 padded = _pad_for_encryption(message, keylength)
170 block = transform.int2bytes(encrypted, keylength)
270 keylength = common.byte_size(priv_key.n)
271 padded = _pad_for_signing(cleartext, keylength)
275 block = transform.int2bytes(encrypted, keylength)
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp1107 int32_t keylength = 0; in TestSortKey() local
1108 const uint8_t *key2primary_alias = key2.getByteArray(keylength); in TestSortKey()
1109 LocalArray<uint8_t> key2primary(new uint8_t[keylength]); in TestSortKey()
1110 memcpy(key2primary.getAlias(), key2primary_alias, keylength); in TestSortKey()
1116 const uint8_t *tempkey = key1.getByteArray(keylength); in TestSortKey()
1117 doAssert(memcmp(tempkey, sortkey1, keylength) == 0, in TestSortKey()
1119 tempkey = key2.getByteArray(keylength); in TestSortKey()
1120 doAssert(memcmp(tempkey, sortkey2, keylength) == 0, in TestSortKey()
1122 tempkey = key3.getByteArray(keylength); in TestSortKey()
1123 doAssert(memcmp(tempkey, sortkey3, keylength) == 0, in TestSortKey()
[all …]
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c83 ASN1_OPT(PBKDF2PARAM, keylength, ASN1_INTEGER),
262 if(!(kdf->keylength = M_ASN1_INTEGER_new())) in PKCS5_pbkdf2_set()
264 if(!ASN1_INTEGER_set (kdf->keylength, keylen)) in PKCS5_pbkdf2_set()
337 if (pbkdf2param->keylength != NULL && in PKCS5_v2_PBKDF2_keyivgen()
338 ASN1_INTEGER_get(pbkdf2param->keylength) != (int) key_len) { in PKCS5_v2_PBKDF2_keyivgen()
/external/ipsec-tools/src/racoon/
Dcfparse.y244 %type <num> NUMBER BOOLEAN SWITCH keylength
1434 : ALGORITHMTYPE keylength
1503 keylength
2064 | ALGORITHM_CLASS ALGORITHMTYPE keylength
/external/boringssl/src/include/openssl/
Dssl.h1832 SSL_CTX *ctx, DH *(*callback)(SSL *ssl, int is_export, int keylength));
1843 int keylength));
2940 SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export, int keylength));
2945 int keylength));
Dx509.h526 ASN1_INTEGER *keylength; member
/external/boringssl/src/ssl/
Dssl_lib.c2054 int keylength)) { in SSL_CTX_set_tmp_rsa_callback() argument
2058 int keylength)) { in SSL_set_tmp_rsa_callback() argument
2063 int keylength)) { in SSL_CTX_set_tmp_dh_callback() argument
2068 int keylength)) { in SSL_set_tmp_dh_callback() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp7968 static RSA* rsaGenerateKey(int keylength) { argument
7981 int generateResult = RSA_generate_key_ex(rsa.get(), keylength, bn.get(), nullptr);
7993 int keylength) { argument
7994 JNI_TRACE("ssl=%p tmp_rsa_callback is_export=%d keylength=%d", ssl, is_export, keylength);
7999 appData->ephemeralRsa.reset(rsaGenerateKey(keylength));
8005 static DH* dhGenerateParameters(int keylength) { argument
8022 if (!DSA_generate_parameters_ex(dsa.get(), keylength, NULL, 0, NULL, NULL, NULL)) {
8030 if (keylength <= 1024) {
8034 if (keylength <= 2048) {
8050 int keylength) { argument
[all …]