Home
last modified time | relevance | path

Searched refs:calg (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_cryptoapi.c356 ALG_ID calg; in crypto_hash_init() local
366 calg = CALG_MD5; in crypto_hash_init()
369 calg = CALG_SHA; in crypto_hash_init()
373 calg = CALG_HMAC; in crypto_hash_init()
405 if (calg == CALG_HMAC) { in crypto_hash_init()
419 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) { in crypto_hash_init()
426 if (calg == CALG_HMAC) { in crypto_hash_init()
/external/chromium_org/net/third_party/nss/patches/
Daesgcm.patch284 - /* cipher calg keySz secretSz type ivSz BlkSz keygen */
302 + /* cipher calg k s type i b t n */
406 SSLCipherAlgorithm calg;
414 calg = cipher_def->calg;
417 + if (calg == calg_aes_gcm) {
631 + calg = cipher_def->calg;
632 + PORT_Assert(alg2Mech[calg].calg == calg);
637 + if (calg == calg_aes_gcm) {
661 - calg = cipher_def->calg;
662 - PORT_Assert(alg2Mech[calg].calg == calg);
[all …]
Dchacha20poly1305.patch112 - if (calg == calg_aes_gcm) {
113 + if (calg == calg_aes_gcm || calg == calg_chacha20) {
120 + if (calg == calg_aes_gcm) {
/external/chromium_org/net/third_party/nss/ssl/
Dssl3con.c469 SSLCipherAlgorithm calg; member
749 cipher_alg = bulk_cipher_defs[cipher_def->bulk_cipher_alg].calg; in ssl3_config_match_init()
750 PORT_Assert( alg2Mech[cipher_alg].calg == cipher_alg); in ssl3_config_match_init()
1628 SSLCipherAlgorithm calg; in ssl3_InitPendingContextsBypass() local
1638 calg = cipher_def->calg; in ssl3_InitPendingContextsBypass()
1640 if (calg == calg_aes_gcm) { in ssl3_InitPendingContextsBypass()
1654 switch (calg) { in ssl3_InitPendingContextsBypass()
1739 switch (calg) { in ssl3_InitPendingContextsBypass()
2115 SSLCipherAlgorithm calg; in ssl3_InitPendingContextsPKCS11() local
2124 calg = cipher_def->calg; in ssl3_InitPendingContextsPKCS11()
[all …]
Dsslimpl.h752 SSLCipherAlgorithm calg; member
/external/ipsec-tools/src/racoon/
Dpfkey.c2774 pk_checkalg(class, calg, keylen) in pk_checkalg() argument
2775 int class, calg, keylen; in pk_checkalg()
2798 alg = ipsecdoi2pfkey_alg(algclass2doi(class), algtype2doi(class, calg));