Searched refs:ctx (Results 1 – 3 of 3) sorted by relevance
| /babblesim_ext_libCryptov1-latest/src/ |
| D | blecrypt.c | 27 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); in blecrypt_aes_128() local 30 EVP_EncryptInit(ctx, EVP_aes_128_ecb(), key_be, NULL); in blecrypt_aes_128() 33 EVP_EncryptUpdate(ctx, encrypted_data_be, &outlen, plaintext_data_be, SKD_LEN); in blecrypt_aes_128() 35 EVP_CIPHER_CTX_free(ctx); in blecrypt_aes_128() 48 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); in blecrypt_aes_ecb() local 52 EVP_EncryptInit(ctx, EVP_aes_128_ecb(), key_be, NULL); in blecrypt_aes_ecb() 54 EVP_EncryptInit(ctx, EVP_aes_192_ecb(), key_be, NULL); in blecrypt_aes_ecb() 56 EVP_EncryptInit(ctx, EVP_aes_256_ecb(), key_be, NULL); in blecrypt_aes_ecb() 60 EVP_EncryptUpdate(ctx, encrypted_data_be, &outlen, plaintext_data_be, SKD_LEN); in blecrypt_aes_ecb() 62 EVP_CIPHER_CTX_free(ctx); in blecrypt_aes_ecb() [all …]
|
| /babblesim_ext_libCryptov1-latest/include/openssl/ |
| D | evp.h | 165 int (*init) (EVP_MD_CTX *ctx); 166 int (*update) (EVP_MD_CTX *ctx, const void *data, size_t count); 167 int (*final) (EVP_MD_CTX *ctx, unsigned char *md); 169 int (*cleanup) (EVP_MD_CTX *ctx); 180 int (*md_ctrl) (EVP_MD_CTX *ctx, int cmd, int p1, void *p2); 277 int (*update) (EVP_MD_CTX *ctx, const void *data, size_t count); 317 int (*init) (EVP_CIPHER_CTX *ctx, const unsigned char *key, 320 int (*do_cipher) (EVP_CIPHER_CTX *ctx, unsigned char *out, 486 typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass, 525 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); [all …]
|
| D | bn.h | 428 void BN_CTX_start(BN_CTX *ctx); 429 BIGNUM *BN_CTX_get(BN_CTX *ctx); 430 void BN_CTX_end(BN_CTX *ctx); 450 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 451 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 464 BN_CTX *ctx); 465 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) argument 466 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); 468 BN_CTX *ctx); 472 BN_CTX *ctx); [all …]
|