Searched refs:bctx (Results 1 – 10 of 10) sorted by relevance
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 27 if (!bctx->enc) { in chacha_poly1305_tls_init() 69 if (bctx->enc) in chacha20_poly1305_initkey() 92 if (bctx->enc) in chacha20_poly1305_initiv() 101 bctx->iv_set = 1; in chacha20_poly1305_initiv() 146 if (bctx->enc) in chacha20_poly1305_tls_cipher() 170 if (bctx->enc) { in chacha20_poly1305_tls_cipher() 204 if (bctx->enc) { in chacha20_poly1305_tls_cipher() 247 if (bctx->enc) { in chacha20_poly1305_tls_cipher() 322 if (bctx->enc) { /* plaintext */ in chacha20_poly1305_aead_cipher() 377 if (bctx->enc) { in chacha20_poly1305_aead_cipher() [all …]
|
H A D | cipher_chacha20_hw.c | 14 static int chacha20_initkey(PROV_CIPHER_CTX *bctx, const uint8_t *key, in chacha20_initkey() argument 17 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_initkey() 28 static int chacha20_initiv(PROV_CIPHER_CTX *bctx) in chacha20_initiv() argument 30 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_initiv() 33 if (bctx->iv_set) { in chacha20_initiv() 35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i); in chacha20_initiv() 41 static int chacha20_cipher(PROV_CIPHER_CTX *bctx, unsigned char *out, in chacha20_cipher() argument 44 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_cipher()
|
H A D | cipher_rc4_hmac_md5_hw.c | 35 static int cipher_hw_rc4_hmac_md5_initkey(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_initkey() argument 38 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_initkey() 45 bctx->removetlsfixed = MD5_DIGEST_LENGTH; in cipher_hw_rc4_hmac_md5_initkey() 49 static int cipher_hw_rc4_hmac_md5_cipher(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_cipher() argument 53 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_cipher() 165 static int cipher_hw_rc4_hmac_md5_tls_init(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_tls_init() argument 168 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_tls_init() 176 if (!bctx->enc) { in cipher_hw_rc4_hmac_md5_tls_init() 190 static void cipher_hw_rc4_hmac_md5_init_mackey(PROV_CIPHER_CTX *bctx, in cipher_hw_rc4_hmac_md5_init_mackey() argument 194 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)bctx; in cipher_hw_rc4_hmac_md5_init_mackey()
|
H A D | cipher_blowfish_hw.c | 21 PROV_BLOWFISH_CTX *bctx = (PROV_BLOWFISH_CTX *)ctx; in cipher_hw_blowfish_initkey() local 23 BF_set_key(&bctx->ks.ks, keylen, key); in cipher_hw_blowfish_initkey()
|
H A D | cipher_cast5_hw.c | 21 PROV_CAST_CTX *bctx = (PROV_CAST_CTX *)ctx; in cipher_hw_cast5_initkey() local 23 CAST_set_key(&(bctx->ks.ks), keylen, key); in cipher_hw_cast5_initkey()
|
/netbsd/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_crypto.c | 2203 bctx = BN_CTX_new(); in crypto_alice() 2205 BN_CTX_free(bctx); in crypto_alice() 2296 BN_CTX_free(bctx); in crypto_bob() 2533 bctx = BN_CTX_new(); in crypto_alice2() 2535 BN_CTX_free(bctx); in crypto_alice2() 2619 BN_mod(k, k, n, bctx); in crypto_bob2() 2625 BN_CTX_free(bctx); in crypto_bob2() 2877 bctx = BN_CTX_new(); in crypto_alice3() 2879 BN_CTX_free(bctx); in crypto_alice3() 2967 BN_mod(k, k, q, bctx); in crypto_bob3() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/cpu/ |
H A D | iq10.cpu | 278 (dni bctx "branch if the current context == instruction[21]" (MACH10 USES-RS) 279 "bctx $rs,$offset"
|
/netbsd/external/gpl3/gdb.old/dist/cpu/ |
H A D | iq10.cpu | 278 (dni bctx "branch if the current context == instruction[21]" (MACH10 USES-RS) 279 "bctx $rs,$offset"
|
/netbsd/external/gpl3/gdb/dist/cpu/ |
H A D | iq10.cpu | 278 (dni bctx "branch if the current context == instruction[21]" (MACH10 USES-RS) 279 "bctx $rs,$offset"
|
/netbsd/external/gpl3/binutils/dist/cpu/ |
H A D | iq10.cpu | 278 (dni bctx "branch if the current context == instruction[21]" (MACH10 USES-RS) 279 "bctx $rs,$offset"
|