| /include/crypto/ |
| A D | ecx.h | 89 int ossl_x25519(uint8_t out_shared_key[32], const uint8_t private_key[32], 99 ossl_ed25519_sign(uint8_t *out_sig, const uint8_t *tbs, size_t tbs_len, 100 const uint8_t public_key[32], const uint8_t private_key[32], 101 const uint8_t dom2flag, const uint8_t phflag, const uint8_t csflag, 106 const uint8_t signature[64], const uint8_t public_key[32], 107 const uint8_t dom2flag, const uint8_t phflag, const uint8_t csflag, 116 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, 118 const uint8_t public_key[57], const uint8_t private_key[57], 125 const uint8_t signature[114], const uint8_t public_key[57], 133 ossl_x448(uint8_t out_shared_key[56], const uint8_t private_key[56], [all …]
|
| A D | ml_kem.h | 246 int ossl_ml_kem_parse_public_key(const uint8_t *in, size_t len, 262 int ossl_ml_kem_encode_public_key(uint8_t *out, size_t len, 265 int ossl_ml_kem_encode_private_key(uint8_t *out, size_t len, 268 int ossl_ml_kem_encode_seed(uint8_t *out, size_t len, 272 int ossl_ml_kem_encap_seed(uint8_t *ctext, size_t clen, 273 uint8_t *shared_secret, size_t slen, 274 const uint8_t *entropy, size_t elen, 277 int ossl_ml_kem_encap_rand(uint8_t *ctext, size_t clen, 278 uint8_t *shared_secret, size_t slen, 281 int ossl_ml_kem_decap(uint8_t *shared_secret, size_t slen, [all …]
|
| A D | sm2.h | 28 int ossl_sm2_compute_z_digest(uint8_t *out, 30 const uint8_t *id, 39 const uint8_t *id, 41 const uint8_t *msg, size_t msg_len); 46 const uint8_t *id, 48 const uint8_t *msg, size_t msg_len); 75 const uint8_t *msg, size_t msg_len, 76 uint8_t *ciphertext_buf, size_t *ciphertext_len); 80 const uint8_t *ciphertext, size_t ciphertext_len, 81 uint8_t *ptext_buf, size_t *ptext_len);
|
| A D | ml_dsa.h | 92 __owur const uint8_t *ossl_ml_dsa_key_get_pub(const ML_DSA_KEY *key); 94 __owur const uint8_t *ossl_ml_dsa_key_get_priv(const ML_DSA_KEY *key); 96 __owur const uint8_t *ossl_ml_dsa_key_get_seed(const ML_DSA_KEY *key); 99 const uint8_t *seed, size_t seed_len, 100 const uint8_t *sk, size_t sk_len); 113 const uint8_t *ctx, size_t ctx_len); 118 const uint8_t *msg, size_t msg_len, 119 const uint8_t *context, size_t context_len, 120 const uint8_t *rand, size_t rand_len, int encode, 123 const uint8_t *msg, size_t msg_len, [all …]
|
| A D | slh_dsa.h | 38 const uint8_t *entropy, size_t entropy_len); 40 __owur const uint8_t *ossl_slh_dsa_key_get_pub(const SLH_DSA_KEY *key); 41 __owur const uint8_t *ossl_slh_dsa_key_get_priv(const SLH_DSA_KEY *key); 43 __owur int ossl_slh_dsa_set_priv(SLH_DSA_KEY *key, const uint8_t *priv, 45 __owur int ossl_slh_dsa_set_pub(SLH_DSA_KEY *key, const uint8_t *pub, 59 const uint8_t *msg, size_t msg_len, 60 const uint8_t *ctx, size_t ctx_len, 61 const uint8_t *add_rand, int encode, 64 const uint8_t *msg, size_t msg_len, 65 const uint8_t *ctx, size_t ctx_len, int encode, [all …]
|
| A D | sm4.h | 32 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks); 34 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks); 36 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks);
|
| A D | lms_util.h | 31 uint8_t lms_ots_coef(const unsigned char *S, uint16_t i, uint8_t w) in lms_ots_coef() 33 uint8_t bitmask = (1 << w) - 1; in lms_ots_coef() 34 uint8_t shift = 8 - (w * (i % (8 / w)) + w); in lms_ots_coef()
|
| A D | aes_platform.h | 139 size_t aes_gcm_enc_128_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphert… 141 size_t aes_gcm_enc_192_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphert… 143 size_t aes_gcm_enc_256_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphert… 145 size_t aes_gcm_dec_128_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaint… 147 size_t aes_gcm_dec_192_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaint… 149 size_t aes_gcm_dec_256_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaint… 151 size_t unroll8_eor3_aes_gcm_enc_128_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uin… 153 size_t unroll8_eor3_aes_gcm_enc_192_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uin… 155 size_t unroll8_eor3_aes_gcm_enc_256_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uin… 157 size_t unroll8_eor3_aes_gcm_dec_128_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, ui… [all …]
|
| /include/internal/ |
| A D | dane.h | 44 uint8_t usage; 45 uint8_t selector; 46 uint8_t mtype; 59 uint8_t *mdord; /* mtype -> preference */ 60 uint8_t mdmax; /* highest supported mtype */
|
| A D | to_hex.h | 14 static ossl_inline size_t to_hex(char *buf, uint8_t n, const char hexdig[17]) in to_hex() 21 static ossl_inline size_t ossl_to_lowerhex(char *buf, uint8_t n) in ossl_to_lowerhex()
|
| A D | hashfunc.h | 18 ossl_unused uint64_t ossl_fnv1a_hash(uint8_t *key, size_t len);
|
| A D | hashtable.h | 27 uint8_t *keybuf; 53 uint64_t (*ht_hash_fn)(uint8_t *key, size_t keylen); 102 HT_DEF_KEY_FIELD(name[size], uint8_t) 110 (key)->key_header.keybuf = (((uint8_t *)key) + sizeof(HT_KEY)); \
|
| A D | recordmethod.h | 174 size_t (*get_max_records)(OSSL_RECORD_LAYER *rl, uint8_t type, size_t len, 227 uint8_t *type, const unsigned char **data, size_t *datalen,
|
| A D | quic_vlint.h | 97 static ossl_unused ossl_inline size_t ossl_quic_vlint_decode_len(uint8_t first_byte) in ossl_quic_vlint_decode_len()
|
| A D | quic_ssl.h | 34 uint8_t *hashkey; 36 uint8_t *token; 45 const uint8_t *token, size_t token_len);
|
| A D | hpke_util.h | 40 uint8_t bitmask;
|
| A D | numbers.h | 43 # define UINT8_MAX __MAXUINT__(uint8_t)
|
| A D | cryptlib.h | 170 size_t ossl_to_hex(char *buf, uint8_t n);
|
| /include/openssl/ |
| A D | e_os2.h | 225 typedef UINT8 uint8_t; typedef 246 typedef unsigned char uint8_t;
|
| A D | tls1.h | 246 int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); 247 int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);
|
| A D | ct.h.in | 473 void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id, 506 const uint8_t *log_id,
|
| A D | ssl.h.in | 1846 uint8_t mtype, uint8_t ord); 1848 __owur int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, 1849 uint8_t mtype, const unsigned char *data, size_t dlen); 1851 __owur int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, 1852 uint8_t *mtype, const unsigned char **data, 2166 uint8_t SSL_SESSION_get_max_fragment_length(const SSL_SESSION *sess);
|