/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | x_sig.c | 23 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 27 *palg = sig->algor; 29 *pdigest = sig->digest; 32 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 36 *palg = sig->algor; 38 *pdigest = sig->digest;
|
/freebsd-current/contrib/tcsh/ |
H A D | tc.sig.c | 2 * tc.sig.c: Signal routine emulations 36 sigset_interrupting(int sig, void (*fn) (int)) argument 43 if (sigaction(sig, &act, NULL) == 0) { 46 sigaddset(&set, sig); 93 queue_alrmcatch(int sig) argument 95 USE(sig); 100 queue_pchild(int sig) argument 102 USE(sig); 107 queue_phup(int sig) argument 109 USE(sig); 114 queue_pintr(int sig) argument [all...] |
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ |
H A D | open.c | 14 _crypto_sign_ed25519_verify_detached(const unsigned char *sig, argument 27 if (sig[63] & 224) { 31 if (sc25519_is_canonical(sig + 32) == 0 || 32 ge25519_has_small_order(sig) != 0) { 44 crypto_hash_sha512_update(&hs, sig, 32); 50 ge25519_double_scalarmult_vartime(&R, h, &A, sig + 32); 53 return crypto_verify_32(rcheck, sig) | (-(rcheck == sig)) | 54 sodium_memcmp(sig, rcheck, 32); 58 crypto_sign_ed25519_verify_detached(const unsigned char *sig, argument [all...] |
/freebsd-current/crypto/openssl/crypto/dsa/ |
H A D | dsa_sign.c | 36 DSA_SIG *sig = OPENSSL_zalloc(sizeof(*sig)); local 37 if (sig == NULL) 39 return sig; 42 void DSA_SIG_free(DSA_SIG *sig) argument 44 if (sig == NULL) 46 BN_clear_free(sig->r); 47 BN_clear_free(sig->s); 48 OPENSSL_free(sig); 53 DSA_SIG *sig; local 79 i2d_DSA_SIG(const DSA_SIG *sig, unsigned char **ppout) argument 123 DSA_SIG sig; local 135 DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) argument 143 DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s) argument 154 ossl_dsa_sign_int(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa) argument 173 DSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa) argument [all...] |
/freebsd-current/contrib/sendmail/include/sm/ |
H A D | signal.h | 48 #define CHECK_CRITICAL(sig) \ 51 if (InCriticalSection > 0 && (sig) != 0) \ 53 pend_signal((sig)); \ 67 # define FIX_SYSV_SIGNAL(sig, handler) \ 69 if ((sig) != 0) \ 70 (void) sm_signal((sig), (handler)); \ 73 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ }
|
/freebsd-current/lib/libthr/thread/ |
H A D | thr_sigqueue.c | 49 _Tthr_sigqueue(pthread_t pthread, int sig, const union sigval value) argument 54 if (sig < 0 || sig > _SIG_MAXSIG) 61 if (sig > 0) { 62 e = sigqueue(pthread->tid, sig | __SIGQUEUE_TID, 69 if (sig > 0) { 70 e = sigqueue(pthread->tid, sig | __SIGQUEUE_TID,
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | signal.c | 39 sm_signal(sig, handler) 40 int sig; 61 if (sigaction(sig, &n, &o) < 0) 73 return signal(sig, handler); 75 return sigset(sig, handler); 86 if (sigaction(sig, &n, &o) < 0) 96 ** sig -- the signal to block. 105 sm_blocksignal(sig) 106 int sig; 112 return (sigblock(sigmask(sig)) [all...] |
/freebsd-current/lib/libsecureboot/openpgp/ |
H A D | opgp_sig.c | 109 decode_sig(int tag, unsigned char **pptr, size_t len, OpenPGP_sig *sig) argument 132 sig->pgpbytes = malloc(5); 133 if (!sig->pgpbytes) 135 memcpy(sig->pgpbytes, ptr, 5); 136 sig->pgpbytes_len = 5; 137 sig->sig_type = *ptr++; 139 sig->key_id = octets2hex(ptr, 8); 141 sig->sig_alg = *ptr++; 142 sig->hash_alg = *ptr++; 144 sig 288 OpenPGP_sig *sig; local [all...] |
/freebsd-current/crypto/openssl/crypto/rsa/ |
H A D | rsa_saos.c | 28 ASN1_OCTET_STRING sig; local 32 sig.type = V_ASN1_OCTET_STRING; 33 sig.length = m_len; 34 sig.data = (unsigned char *)m; 36 i = i2d_ASN1_OCTET_STRING(&sig, NULL); 48 i2d_ASN1_OCTET_STRING(&sig, &p); 67 ASN1_OCTET_STRING *sig = NULL; local 85 sig = d2i_ASN1_OCTET_STRING(NULL, &p, (long)i); 86 if (sig == NULL) 89 if (((unsigned int)sig [all...] |
/freebsd-current/contrib/bmake/ |
H A D | wait.h | 59 #define WSET_STOPCODE(x, sig) ((&x)->w_stopsig = (sig)) 62 #define WSET_EXITCODE(x, ret, sig) ((&x)->w_termsig = (sig), (&x)->w_retcode = (ret)) 66 #define WSET_STOPCODE(x, sig) ((x) = ((sig) << 8) | 0177) 69 #define WSET_EXITCODE(x, ret, sig) ((x) = (ret << 8) | (sig))
|
H A D | sigaction.c | 7 * int sigaction(int sig, struct sigaction *act, 9 * int sigaddset(sigset_t *mask, int sig); 10 * int sigdelset(sigset_t *mask, int sig); 13 * int sigismember(sigset_t *mask, int sig); 18 * SIG_HDLR (*Signal(int sig, SIG_HDLR (*disp)(int)))(int); 68 * sigaddset() adds "sig" to the sigset_t pointed to by "mask". 70 * sigdelset() removes "sig" from the sigset_t pointed to 78 * sigismember() returns true if "sig" is found in "*mask". 189 sigaction(int sig, argument 197 oldh = sigset(sig, ac 225 sigaddset(sigset_t *mask, int sig) argument 233 sigdelset(sigset_t *mask, int sig) argument 257 sigismember(const sigset_t *mask, int sig) argument [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | sigact.c | 49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) argument 51 return sigvec(sig, sigact ? &sigact->sv : NULL, 101 sigdelset (sigset_t *mask, int sig) argument 107 *mask &= ~sigmask(sig); 112 sigaddset (sigset_t *mask, int sig) argument 118 *mask |= sigmask(sig); 123 sigismember (sigset_t *mask, int sig) argument 129 return (*mask & sigmask(sig)) != 0;
|
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_sign/ |
H A D | crypto_sign.c | 76 crypto_sign_detached(unsigned char *sig, unsigned long long *siglen_p, argument 80 return crypto_sign_ed25519_detached(sig, siglen_p, m, mlen, sk); 84 crypto_sign_verify_detached(const unsigned char *sig, const unsigned char *m, argument 87 return crypto_sign_ed25519_verify_detached(sig, m, mlen, pk); 104 crypto_sign_final_create(crypto_sign_state *state, unsigned char *sig, argument 107 return crypto_sign_ed25519ph_final_create(state, sig, siglen_p, sk); 111 crypto_sign_final_verify(crypto_sign_state *state, unsigned char *sig, argument 114 return crypto_sign_ed25519ph_final_verify(state, sig, pk);
|
/freebsd-current/sys/arm64/include/ |
H A D | acpica_machdep.h | 48 void *acpi_map_table(vm_paddr_t pa, const char *sig); 50 vm_paddr_t acpi_find_table(const char *sig);
|
/freebsd-current/lib/libc/sys/ |
H A D | sigaction.c | 41 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument 43 return (INTERPOS_SYS(sigaction, sig, act, oact));
|
/freebsd-current/crypto/openssl/demos/signature/ |
H A D | rsa_pss_hash.c | 33 static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len) argument 41 *sig = NULL; 86 *sig = OPENSSL_malloc(*sig_len); 87 if (*sig == NULL) { 93 if (EVP_DigestSignFinal(mctx, *sig, sig_len) == 0) { 104 OPENSSL_free(*sig); 114 static int verify(OSSL_LIB_CTX *libctx, const unsigned char *sig, size_t sig_len) argument 158 if (EVP_DigestVerifyFinal(mctx, sig, sig_len) == 0) { 175 unsigned char *sig = NULL; local 178 if (sign(libctx, &sig, [all...] |
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | sig.h | 47 int sig; local 53 sig = cursig(td); 56 if (sig != 0)
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_report.cpp | 216 static void ReportStackOverflowImpl(const SignalContext &sig, u32 tid, argument 223 SanitizerToolName, kDescription, (void *)sig.addr, (void *)sig.pc, 224 (void *)sig.bp, (void *)sig.sp, tid); 229 unwind(sig, unwind_context, stack); 234 static void ReportDeadlySignalImpl(const SignalContext &sig, u32 tid, argument 239 const char *description = sig.Describe(); 240 if (sig.is_memory_access && !sig 276 ReportDeadlySignal(const SignalContext &sig, u32 tid, UnwindSignalStackCallbackType unwind, const void *unwind_context) argument [all...] |
H A D | sanitizer_symbolizer_report_fuchsia.cpp | 23 void ReportDeadlySignal(const SignalContext &sig, u32 tid, argument
|
/freebsd-current/usr.bin/bc/ |
H A D | tty.c | 49 tstpcont(int sig) argument 53 if (sig == SIGTSTP) { 61 signal(sig, SIG_DFL); 62 kill(0, sig);
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_signal.h | 33 void siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_signals_standalone.cpp | 51 static void OnStackUnwind(const SignalContext &sig, const void *, argument 54 StackTrace::GetNextInstructionPc(sig.pc), sig.bp, 55 sig.context, common_flags()->fast_unwind_on_fatal);
|
/freebsd-current/contrib/bearssl/src/ec/ |
H A D | ecdsa_i31_vrfy_asn1.c | 34 const void *sig, size_t sig_len) 45 memcpy(rsig, sig, sig_len); 31 br_ecdsa_i31_vrfy_asn1(const br_ec_impl *impl, const void *hash, size_t hash_len, const br_ec_public_key *pk, const void *sig, size_t sig_len) argument
|
H A D | ecdsa_i31_sign_asn1.c | 33 const br_ec_private_key *sk, void *sig) 43 memcpy(sig, rsig, sig_len); 31 br_ecdsa_i31_sign_asn1(const br_ec_impl *impl, const br_hash_class *hf, const void *hash_value, const br_ec_private_key *sk, void *sig) argument
|
H A D | ecdsa_i15_vrfy_asn1.c | 34 const void *sig, size_t sig_len) 45 memcpy(rsig, sig, sig_len); 31 br_ecdsa_i15_vrfy_asn1(const br_ec_impl *impl, const void *hash, size_t hash_len, const br_ec_public_key *pk, const void *sig, size_t sig_len) argument
|