Home
last modified time | relevance | path

Searched refs:xctx (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/crypto/
H A Dgmac.c102 AES_GMAC_Init(void *xctx) in AES_GMAC_Init() argument
104 AES_GMAC_CTX *ctx = xctx; in AES_GMAC_Init()
113 AES_GMAC_Setkey(void *xctx, const uint8_t *key, uint16_t klen) in AES_GMAC_Setkey() argument
115 AES_GMAC_CTX *ctx = xctx; in AES_GMAC_Setkey()
125 AES_GMAC_Reinit(void *xctx, const uint8_t *iv, uint16_t ivlen) in AES_GMAC_Reinit() argument
127 AES_GMAC_CTX *ctx = xctx; in AES_GMAC_Reinit()
134 AES_GMAC_Update(void *xctx, const uint8_t *data, uint16_t len) in AES_GMAC_Update() argument
136 AES_GMAC_CTX *ctx = xctx; in AES_GMAC_Update()
156 AES_GMAC_Final(uint8_t digest[GMAC_DIGEST_LEN], void *xctx) in AES_GMAC_Final() argument
158 AES_GMAC_CTX *ctx = xctx; in AES_GMAC_Final()
H A Dchachapoly.c60 Chacha20_Poly1305_Init(void *xctx) in Chacha20_Poly1305_Init() argument
62 CHACHA20_POLY1305_CTX *ctx = xctx; in Chacha20_Poly1305_Init()
68 Chacha20_Poly1305_Setkey(void *xctx, const uint8_t *key, uint16_t klen) in Chacha20_Poly1305_Setkey() argument
70 CHACHA20_POLY1305_CTX *ctx = xctx; in Chacha20_Poly1305_Setkey()
79 Chacha20_Poly1305_Reinit(void *xctx, const uint8_t *iv, uint16_t ivlen) in Chacha20_Poly1305_Reinit() argument
81 CHACHA20_POLY1305_CTX *ctx = xctx; in Chacha20_Poly1305_Reinit()
91 Chacha20_Poly1305_Update(void *xctx, const uint8_t *data, uint16_t len) in Chacha20_Poly1305_Update() argument
94 CHACHA20_POLY1305_CTX *ctx = xctx; in Chacha20_Poly1305_Update()
108 Chacha20_Poly1305_Final(uint8_t tag[POLY1305_TAGLEN], void *xctx) in Chacha20_Poly1305_Final() argument
110 CHACHA20_POLY1305_CTX *ctx = xctx; in Chacha20_Poly1305_Final()
/openbsd/lib/libcrypto/evp/
H A De_aes.c310 &xctx->ks1); in aesni_xts_init_key()
315 &xctx->ks1); in aesni_xts_init_key()
324 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key()
328 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
1804 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl()
1809 if (xctx->xts.key2 != &xctx->ks2) in aes_xts_ctrl()
1857 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
1875 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
1879 xctx->xts.key2 = &xctx->ks2; in aes_xts_init_key()
1892 if (!xctx->xts.key1 || !xctx->xts.key2) in aes_xts_cipher()
[all …]
/openbsd/lib/libcrypto/x509/
H A Dx509_vfy.c234 int (*cb) (int xok, X509_STORE_CTX *xctx); in X509_verify_cert_legacy_build_chain()
712 int (*cb)(int xok, X509_STORE_CTX *xctx); in x509_vfy_check_chain_extensions()
863 int (*cb) (int xok, X509_STORE_CTX *xctx); in x509_vfy_check_trust()