Lines Matching refs:u8
33 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
43 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
54 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len,
55 u8 *mac);
69 int __must_check fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x,
80 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len,
81 u8 *mac);
91 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len,
92 u8 *mac);
102 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len,
103 u8 *mac);
112 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher);
120 void * aes_encrypt_init(const u8 *key, size_t len);
129 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
143 void * aes_decrypt_init(const u8 *key, size_t len);
152 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
182 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
195 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
214 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);
238 const u8 *iv, const u8 *key,
254 const u8 *plain, u8 *crypt, size_t len);
269 const u8 *crypt, u8 *plain, size_t len);
299 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len);
302 crypto_public_key_import_parts(const u8 *n, size_t n_len,
303 const u8 *e, size_t e_len);
316 struct crypto_private_key * crypto_private_key_import(const u8 *key,
334 struct crypto_public_key * crypto_public_key_from_cert(const u8 *buf,
351 struct crypto_public_key *key, const u8 *in, size_t inlen,
352 u8 *out, size_t *outlen);
368 struct crypto_private_key *key, const u8 *in, size_t inlen,
369 u8 *out, size_t *outlen);
385 const u8 *in, size_t inlen,
386 u8 *out, size_t *outlen);
418 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
419 u8 *plain, size_t *plain_len);
421 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey,
422 u8 *pubkey);
423 int crypto_dh_derive_secret(u8 generator, const u8 *prime, size_t prime_len,
424 const u8 *order, size_t order_len,
425 const u8 *privkey, size_t privkey_len,
426 const u8 *pubkey, size_t pubkey_len,
427 u8 *secret, size_t *len);
467 int __must_check crypto_mod_exp(const u8 *base, size_t base_len,
468 const u8 *power, size_t power_len,
469 const u8 *modulus, size_t modulus_len,
470 u8 *result, size_t *result_len);
485 int rc4_skip(const u8 *key, size_t keylen, size_t skip,
486 u8 *data, size_t data_len);
528 struct crypto_bignum * crypto_bignum_init_set(const u8 *buf, size_t len);
553 u8 *buf, size_t buflen, size_t padlen);
836 const struct crypto_ec_point *point, u8 *x, u8 *y);
849 const u8 *val);
942 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len);
964 struct crypto_key *crypto_ec_get_key(const u8 *privkey, size_t privkey_len);
989 u8 *secret, size_t *secret_len);
1054 const u8 *buf, size_t len);
1138 u8 *buf, size_t buflen, size_t padlen);
1148 const u8 *key, size_t len);
1160 struct crypto_ec_key * crypto_ec_key_parse_pub(const u8 *der, size_t der_len);
1185 int crypto_ec_key_verify_signature(struct crypto_ec_key *key, const u8 *data,
1186 size_t len, const u8 *sig, size_t sig_len);