Searched refs:ctx_magic (Results 1 – 2 of 2) sorted by relevance
156 word_t ctx_magic; member174 return (((ctx == NULL) || (ctx->ctx_magic != SIG_SIGN_MAGIC)) ? -1 : 0); in sig_sign_check_initialized()215 word_t ctx_magic; member232 return (((ctx == NULL) || (ctx->ctx_magic != SIG_VERIFY_MAGIC)) ? -1 : 0); in sig_verify_check_initialized()
216 MUST_HAVE((sig_ctx != NULL) && (sig_ctx->ctx_magic == SIG_SIGN_MAGIC), ret, err); in ec_sig_ctx_callbacks_sanity_check()233 MUST_HAVE((verify_ctx != NULL) && (verify_ctx->ctx_magic == SIG_VERIFY_MAGIC), ret, err); in ec_verify_ctx_callbacks_sanity_check()367 ctx->ctx_magic = SIG_SIGN_MAGIC; in _ec_sign_init()565 ctx->ctx_magic = SIG_VERIFY_MAGIC; in ec_verify_init()