| /freebsd/crypto/openssl/crypto/ec/curve448/ |
| H A D | scalar.c | 37 static void sc_subx(curve448_scalar_t out, in sc_subx() 61 static void sc_montmul(curve448_scalar_t out, const curve448_scalar_t a, in sc_montmul() 98 void ossl_curve448_scalar_mul(curve448_scalar_t out, const curve448_scalar_t a, in ossl_curve448_scalar_mul() 105 void ossl_curve448_scalar_sub(curve448_scalar_t out, const curve448_scalar_t a, in ossl_curve448_scalar_sub() 111 void ossl_curve448_scalar_add(curve448_scalar_t out, const curve448_scalar_t a, in ossl_curve448_scalar_add() 132 c448_word_t out = 0; in scalar_decode_short() local 210 void ossl_curve448_scalar_halve(curve448_scalar_t out, const curve448_scalar_t a) in ossl_curve448_scalar_halve()
|
| /freebsd/crypto/openssl/crypto/ec/curve448/arch_64/ |
| H A D | f_impl.h | 17 #define FIELD_LITERAL(a, b, c, d, e, f, g, h) \ argument 26 void gf_add_RAW(gf out, const gf a, const gf b) in gf_add_RAW() 36 void gf_sub_RAW(gf out, const gf a, const gf b) in gf_sub_RAW() 47 void gf_bias(gf a, int amt) in gf_bias() 51 void gf_weak_reduce(gf a) in gf_weak_reduce()
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | timespecops.c | 89 struct timespec a in abs_tspec() 113 struct timespec a, in cmp_tspec() 133 struct timespec a in test_tspec() 171 struct timespec out; in lfp_intv_to_tspec() local 196 struct timespec out; in lfp_uintv_to_tspec() local 215 struct timespec out; in lfp_stamp_to_tspec() local
|
| /freebsd/crypto/openssl/crypto/ec/curve448/arch_32/ |
| H A D | f_impl.h | 18 #define FIELD_LITERAL(a, b, c, d, e, f, g, h) \ argument 27 void gf_add_RAW(gf out, const gf a, const gf b) in gf_add_RAW() 35 void gf_sub_RAW(gf out, const gf a, const gf b) in gf_sub_RAW() 43 void gf_bias(gf a, int amt) in gf_bias() 52 void gf_weak_reduce(gf a) in gf_weak_reduce()
|
| /freebsd/contrib/ntp/include/ |
| H A D | timevalops.h | 181 struct timeval a, in add_tval() 197 struct timeval a, in add_tval_us() 212 struct timeval a, in sub_tval() 228 struct timeval a, in sub_tval_us() 243 struct timeval a in neg_tval() 257 struct timeval a in abs_tval() 281 struct timeval a, in cmp_tval() 301 struct timeval a, in cmp_tval_denorm() 314 struct timeval a in test_tval() 332 struct timeval a in test_tval_denorm() [all …]
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | encode.c | 25 #define conv_bin2ascii(a, table) ((table)[(a) & 0x3f]) argument 33 #define conv_bin2ascii(a, table) ((table)[(a) & 0x3f]) argument 66 #define B64_NOT_BASE64(a) (((a) | 0x13) == 0xF3) argument 67 #define B64_BASE64(a) (!B64_NOT_BASE64(a)) argument 332 static unsigned char conv_ascii2bin(unsigned char a, const unsigned char *table) in conv_ascii2bin() 339 static unsigned char conv_ascii2bin(unsigned char a, const unsigned char *table) in conv_ascii2bin() 383 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_EncodeUpdate() 438 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_EncodeFinal() 523 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_DecodeUpdate() 637 int i, ret = 0, a, b, c, d; in evp_decodeblock_int() local [all …]
|
| /freebsd/crypto/openssl/crypto/ocsp/ |
| H A D | v3_ocsp.c | 93 OCSP_CRLID *a = in; in i2r_ocsp_crlid() local 143 static int i2d_ocsp_nonce(const void *a, unsigned char **pp) in i2d_ocsp_nonce() 153 static void *d2i_ocsp_nonce(void *a, const unsigned char **pp, long length) in d2i_ocsp_nonce() 180 static void ocsp_nonce_free(void *a) in ocsp_nonce_free() 186 BIO *out, int indent) in i2r_ocsp_nonce() 198 BIO *out, int indent) in i2r_ocsp_nocheck() 213 OCSP_SERVICELOC *a = in; in i2r_ocsp_serviceloc() local
|
| /freebsd/contrib/pnglite/ |
| H A D | pnglite.c | 35 file_read(png_t *png, void *out, size_t size, size_t numel) in file_read() 53 file_read_ul(png_t *png, unsigned *out) in file_read_ul() 382 png_filter_sub(unsigned stride, uint8_t *in, uint8_t *out, unsigned len) in png_filter_sub() 385 uint8_t a = 0; in png_filter_sub() local 396 png_filter_up(unsigned stride __unused, uint8_t *in, uint8_t *out, in png_filter_up() 409 png_filter_average(unsigned stride, uint8_t *in, uint8_t *out, in png_filter_average() 413 uint8_t a = 0; in png_filter_average() local 432 png_paeth(uint8_t a, uint8_t b, uint8_t c) in png_paeth() 452 png_filter_paeth(unsigned stride, uint8_t *in, uint8_t *out, uint8_t *prev_line, in png_filter_paeth() 456 uint8_t a; in png_filter_paeth() local
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | x_name.c | 118 X509_NAME *a; in x509_name_ex_free() local 149 ASN1_VALUE *a; in x509_name_ex_d2i() member 155 ASN1_VALUE *a; in x509_name_ex_d2i() member 214 static int x509_name_ex_i2d(const ASN1_VALUE **val, unsigned char **out, in x509_name_ex_i2d() 218 X509_NAME *a = (X509_NAME *)*val; in x509_name_ex_i2d() local 236 static int x509_name_encode(X509_NAME *a) in x509_name_encode() 240 const ASN1_VALUE *a; in x509_name_encode() member 289 static int x509_name_ex_print(BIO *out, const ASN1_VALUE **pval, in x509_name_ex_print() 311 static int x509_name_canon(X509_NAME *a) in x509_name_canon() 393 static int asn1_string_canon(ASN1_STRING *out, const ASN1_STRING *in) in asn1_string_canon()
|
| H A D | v3_aaa.c | 80 BIO *out, int indent) in i2r_ALLOWED_ATTRIBUTES_ITEM() 83 OSSL_ALLOWED_ATTRIBUTES_CHOICE *a; in i2r_ALLOWED_ATTRIBUTES_ITEM() local 103 BIO *out, int indent) in i2r_ALLOWED_ATTRIBUTES_SYNTAX()
|
| H A D | x_ietfatt.c | 91 int i2d_OSSL_IETF_ATTR_SYNTAX(const OSSL_IETF_ATTR_SYNTAX *a, in i2d_OSSL_IETF_ATTR_SYNTAX() 92 unsigned char **out) in i2d_OSSL_IETF_ATTR_SYNTAX() 97 int OSSL_IETF_ATTR_SYNTAX_get_value_num(const OSSL_IETF_ATTR_SYNTAX *a) in OSSL_IETF_ATTR_SYNTAX_get_value_num() 106 OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority(const OSSL_IETF_ATTR_SYNTAX *a) in OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority() 111 void OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority(OSSL_IETF_ATTR_SYNTAX *a, in OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority() 118 void *OSSL_IETF_ATTR_SYNTAX_get0_value(const OSSL_IETF_ATTR_SYNTAX *a, in OSSL_IETF_ATTR_SYNTAX_get0_value() 142 int OSSL_IETF_ATTR_SYNTAX_add1_value(OSSL_IETF_ATTR_SYNTAX *a, int type, in OSSL_IETF_ATTR_SYNTAX_add1_value() 193 int OSSL_IETF_ATTR_SYNTAX_print(BIO *bp, OSSL_IETF_ATTR_SYNTAX *a, int indent) in OSSL_IETF_ATTR_SYNTAX_print()
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecp_sm2p256.c | 91 static ossl_inline BN_ULONG is_zeros(const BN_ULONG *a) in is_zeros() 100 static ossl_inline int is_equal(const BN_ULONG *a, const BN_ULONG *b) in is_equal() 112 static ossl_inline int is_greater(const BN_ULONG *a, const BN_ULONG *b) in is_greater() 126 #define is_one(a) is_equal(a, ONE) argument 127 #define is_even(a) !(a[0] & 1) argument 128 #define is_point_equal(a, b) \ argument 132 #define ecp_sm2p256_bignum_field_elem(out, in) \ argument 136 #define BN_MOD_INV(out, in, mod_div, mod_sub, mod) \ argument 171 static ossl_inline void ecp_sm2p256_mod_inverse(BN_ULONG *out, in ecp_sm2p256_mod_inverse() 461 P256_POINT_AFFINE a; in ecp_sm2p256_windowed_mul() member [all …]
|
| H A D | ecp_nistp256.c | 130 static void bin32_to_felem(felem out, const u8 in[32]) in bin32_to_felem() 151 static int BN_to_felem(felem out, const BIGNUM *bn) in BN_to_felem() 170 static BIGNUM *smallfelem_to_BN(BIGNUM *out, const smallfelem in) in smallfelem_to_BN() 182 static void smallfelem_one(smallfelem out) in smallfelem_one() 190 static void smallfelem_assign(smallfelem out, const smallfelem in) in smallfelem_assign() 198 static void felem_assign(felem out, const felem in) in felem_assign() 207 static void felem_sum(felem out, const felem in) in felem_sum() 216 static void felem_small_sum(felem out, const smallfelem in) in felem_small_sum() 225 static void felem_scalar(felem out, const u64 scalar) in felem_scalar() 234 static void longfelem_scalar(longfelem out, const u64 scalar) in longfelem_scalar() [all …]
|
| H A D | ec_asn1.c | 64 ASN1_OCTET_STRING *a; member 514 BIGNUM *p = NULL, *a = NULL, *b = NULL; in EC_GROUP_new_from_ecparameters() local 873 EC_GROUP *d2i_ECPKParameters(EC_GROUP **a, const unsigned char **in, long len) in d2i_ECPKParameters() 902 int i2d_ECPKParameters(const EC_GROUP *a, unsigned char **out) in i2d_ECPKParameters() 921 EC_KEY *d2i_ECPrivateKey(EC_KEY **a, const unsigned char **in, long len) in d2i_ECPrivateKey() 1006 int i2d_ECPrivateKey(const EC_KEY *a, unsigned char **out) in i2d_ECPrivateKey() 1076 int i2d_ECParameters(const EC_KEY *a, unsigned char **out) in i2d_ECParameters() 1085 EC_KEY *d2i_ECParameters(EC_KEY **a, const unsigned char **in, long len) in d2i_ECParameters() 1121 EC_KEY *o2i_ECPublicKey(EC_KEY **a, const unsigned char **in, long len) in o2i_ECPublicKey() 1142 int i2o_ECPublicKey(const EC_KEY *a, unsigned char **out) in i2o_ECPublicKey()
|
| /freebsd/crypto/openssl/crypto/ct/ |
| H A D | ct_oct.c | 153 int i2o_SCT_signature(const SCT *sct, unsigned char **out) in i2o_SCT_signature() 198 int i2o_SCT(const SCT *sct, unsigned char **out) in i2o_SCT() 317 int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp) in i2o_SCT_LIST() 389 int i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **out) in i2d_SCT_LIST()
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_intern.c | 137 int bn_get_top(const BIGNUM *a) in bn_get_top() 142 int bn_get_dmax(const BIGNUM *a) in bn_get_dmax() 147 void bn_set_all_zero(BIGNUM *a) in bn_set_all_zero() 155 int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size) in bn_copy_words() 166 BN_ULONG *bn_get_words(const BIGNUM *a) in bn_get_words() 171 void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size) in bn_set_static_words() 184 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words()
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_gcm_siv_polyval.c | 22 static ossl_inline void mulx_ghash(uint64_t *a) in mulx_ghash() 47 static ossl_inline void byte_reverse16(uint8_t *out, const uint8_t *in) in byte_reverse16() 80 uint64_t out[2]; in ossl_polyval_ghash_hash() local
|
| /freebsd/sys/kgssapi/krb5/ |
| H A D | kcrypto.c | 86 gcd(size_t a, size_t b) in gcd() 95 lcm(size_t a, size_t b) in lcm() 106 krb5_rotate_right_13(uint8_t *out, uint8_t *in, size_t numlen) in krb5_rotate_right_13() 134 krb5_ones_complement_add(uint8_t *out, const uint8_t *in, size_t len) in krb5_ones_complement_add() 159 krb5_n_fold(uint8_t *out, size_t outlen, const uint8_t *in, size_t inlen) in krb5_n_fold()
|
| /freebsd/crypto/openssl/crypto/ml_dsa/ |
| H A D | ml_dsa_poly.h | 34 poly_add(const POLY *lhs, const POLY *rhs, POLY *out) in poly_add() 52 poly_sub(const POLY *lhs, const POLY *rhs, POLY *out) in poly_sub() 62 poly_equal(const POLY *a, const POLY *b) in poly_equal() 74 poly_sample_in_ball_ntt(POLY *out, const uint8_t *seed, int seed_len, in poly_sample_in_ball_ntt() 84 poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len, in poly_expand_mask() 112 poly_scale_power2_round(POLY *in, POLY *out) in poly_scale_power2_round() 121 poly_high_bits(const POLY *in, uint32_t gamma2, POLY *out) in poly_high_bits() 130 poly_low_bits(const POLY *in, uint32_t gamma2, POLY *out) in poly_low_bits() 140 POLY *out) in poly_make_hint() 151 poly_use_hint(const POLY *h, const POLY *r, uint32_t gamma2, POLY *out) in poly_use_hint()
|
| /freebsd/contrib/arm-optimized-routines/math/test/rtest/ |
| H A D | semi.c | 11 static void test_rint(uint32 *in, uint32 *out, in test_rint() 64 char *test_ceil(uint32 *in, uint32 *out) { in test_ceil() 69 char *test_floor(uint32 *in, uint32 *out) { in test_floor() 74 static void test_rintf(uint32 *in, uint32 *out, in test_rintf() 120 char *test_ceilf(uint32 *in, uint32 *out) { in test_ceilf() 125 char *test_floorf(uint32 *in, uint32 *out) { in test_floorf() 130 char *test_fmod(uint32 *a, uint32 *b, uint32 *out) { in test_fmod() 204 char *test_fmodf(uint32 *a, uint32 *b, uint32 *out) { in test_fmodf() 271 char *test_ldexp(uint32 *x, uint32 *np, uint32 *out) { in test_ldexp() 349 char *test_ldexpf(uint32 *x, uint32 *np, uint32 *out) { in test_ldexpf() [all …]
|
| /freebsd/crypto/openssl/crypto/des/ |
| H A D | fcrypt_b.c | 23 #define PERM_OP(a, b, t, n, m) ((t) = ((((a) >> (n)) ^ (b)) & (m)), \ argument 28 #define HPERM_OP(a, t, n, m) ((t) = ((((a) << (16 - (n))) ^ (a)) & (m)), \ argument 31 void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, in fcrypt_body()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | punycode.c | 60 static ossl_inline int is_basic(unsigned int a) in is_basic() 72 static ossl_inline int digit_decoded(const unsigned char a) in digit_decoded() 204 static int codepoint2utf8(unsigned char *out, unsigned long utf) in codepoint2utf8() 249 int ossl_a2ulabel(const char *in, char *out, size_t outlen) in ossl_a2ulabel()
|
| /freebsd/crypto/krb5/src/lib/crypto/krb/ |
| H A D | nfold.c | 48 unsigned char *out) in krb5int_nfold() 50 int a,b,c,lcm; in krb5int_nfold() local
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | names.c | 16 int name_cmp(const char *const *a, const char *const *b) in name_cmp() 29 void print_names(BIO *out, STACK_OF(OPENSSL_CSTRING) *names) in print_names()
|
| /freebsd/crypto/openssl/crypto/rc5/ |
| H A D | rc5_enc.c | 20 void RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out, in RC5_32_cbc_encrypt() 98 RC5_32_INT a, b, *s; in RC5_32_encrypt() local 134 RC5_32_INT a, b, *s; in RC5_32_decrypt() local
|