Searched refs:crypto_op_t (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/test/crypto-tests/tests/common/ |
H A D | cryptotest.h | 49 typedef struct crypto_op crypto_op_t; typedef 53 int (*tf_init)(crypto_op_t *); 54 int (*tf_single)(crypto_op_t *); 55 int (*tf_update)(crypto_op_t *, size_t, size_t, size_t *); 56 int (*tf_final)(crypto_op_t *, size_t); 66 crypto_op_t *cryptotest_init(cryptotest_t *args, crypto_func_group_t fg); 67 void cryptotest_close(crypto_op_t *op); 68 int get_mech_info(crypto_op_t *op); 69 int get_hsession_by_mech(crypto_op_t *op); 72 int mac_init(crypto_op_t *op); [all …]
|
H A D | cryptotest_pkcs.c | 54 crypto_op_t * 57 crypto_op_t *op = malloc(sizeof (*op)); in cryptotest_init() 98 cryptotest_close(crypto_op_t *op) in cryptotest_close() 110 get_mech_info(crypto_op_t *op) in get_mech_info() 125 get_hsession_by_mech(crypto_op_t *op) in get_hsession_by_mech() 143 sign_init(crypto_op_t *op) in sign_init() 167 sign_single(crypto_op_t *op) in sign_single() 179 sign_update(crypto_op_t *op, size_t offset, size_t len) in sign_update() 190 sign_final(crypto_op_t *op) in sign_final() 203 mac_init(crypto_op_t *op) in mac_init() [all …]
|
H A D | cryptotest_kcf.c | 79 crypto_op_t * 82 crypto_op_t *op = malloc(sizeof (*op)); in cryptotest_init() 129 cryptotest_close(crypto_op_t *op) in cryptotest_close() 140 get_mech_info(crypto_op_t *op) in get_mech_info() 160 get_hsession_by_mech(crypto_op_t *op) in get_hsession_by_mech() 188 mac_init(crypto_op_t *op) in mac_init() 208 mac_single(crypto_op_t *op) in mac_single() 223 mac_update(crypto_op_t *op, size_t offset, size_t len, size_t *dummy __unused) in mac_update() 237 mac_final(crypto_op_t *op, size_t dummy __unused) in mac_final() 256 encrypt_init(crypto_op_t *op) in encrypt_init() [all …]
|
H A D | testfuncs.c | 122 test_setup(cryptotest_t *args, test_fg_t *funcs, crypto_op_t **opp) in test_setup() 124 crypto_op_t *crypto_op = NULL; in test_setup() 169 crypto_op_t *crypto_op = NULL; in test_multi() 270 crypto_op_t *crypto_op = NULL; in test_single()
|