OpenCoverage

cms.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/include/openssl/cms.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7typedef struct CMS_ContentInfo_st CMS_ContentInfo;-
8typedef struct CMS_SignerInfo_st CMS_SignerInfo;-
9typedef struct CMS_CertificateChoices CMS_CertificateChoices;-
10typedef struct CMS_RevocationInfoChoice_st CMS_RevocationInfoChoice;-
11typedef struct CMS_RecipientInfo_st CMS_RecipientInfo;-
12typedef struct CMS_ReceiptRequest_st CMS_ReceiptRequest;-
13typedef struct CMS_Receipt_st CMS_Receipt;-
14typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey;-
15typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute;-
16-
17struct stack_st_CMS_SignerInfo; typedef int (*sk_CMS_SignerInfo_compfunc)(const CMS_SignerInfo * const *a, const CMS_SignerInfo *const *b); typedef void (*sk_CMS_SignerInfo_freefunc)(CMS_SignerInfo *a); typedef CMS_SignerInfo * (*sk_CMS_SignerInfo_copyfunc)(const CMS_SignerInfo *a); static inline int sk_CMS_SignerInfo_num(const struct stack_st_CMS_SignerInfo *sk) { return
executed 744 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_num((const OPENSSL_STACK *)sk);
executed 744 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
} static inline CMS_SignerInfo *sk_CMS_SignerInfo_value(const struct stack_st_CMS_SignerInfo *sk, int idx) { return
executed 438 times by 2 tests: return (CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
  • openssl
(CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
executed 438 times by 2 tests: return (CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
  • openssl
} static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new(sk_CMS_SignerInfo_compfunc compare) { return
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
(struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
} static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new_null(void) { return
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();
(struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();
} static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new_reserve(sk_CMS_SignerInfo_compfunc compare, int n) { return
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
(struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
} static inline int sk_CMS_SignerInfo_reserve(struct stack_st_CMS_SignerInfo *sk, int n) { return
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
} static inline void sk_CMS_SignerInfo_free(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }
never executed: end of block
static inline void sk_CMS_SignerInfo_zero(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }
never executed: end of block
static inline CMS_SignerInfo *sk_CMS_SignerInfo_delete(struct stack_st_CMS_SignerInfo *sk, int i) { return
never executed: return (CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
(CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
never executed: return (CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
} static inline CMS_SignerInfo *sk_CMS_SignerInfo_delete_ptr(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { return
never executed: return (CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
(CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return (CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_SignerInfo_push(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { return
executed 61 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
executed 61 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
} static inline int sk_CMS_SignerInfo_unshift(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { return
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline CMS_SignerInfo *sk_CMS_SignerInfo_pop(struct stack_st_CMS_SignerInfo *sk) { return
never executed: return (CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
(CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
never executed: return (CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
} static inline CMS_SignerInfo *sk_CMS_SignerInfo_shift(struct stack_st_CMS_SignerInfo *sk) { return
never executed: return (CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
(CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
never executed: return (CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
} static inline void sk_CMS_SignerInfo_pop_free(struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }
never executed: end of block
static inline int sk_CMS_SignerInfo_insert(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr, int idx) { return
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
} static inline CMS_SignerInfo *sk_CMS_SignerInfo_set(struct stack_st_CMS_SignerInfo *sk, int idx, CMS_SignerInfo *ptr) { return
never executed: return (CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
(CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
never executed: return (CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
} static inline int sk_CMS_SignerInfo_find(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { return
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_SignerInfo_find_ex(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { return
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline void sk_CMS_SignerInfo_sort(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }
never executed: end of block
static inline int sk_CMS_SignerInfo_is_sorted(const struct stack_st_CMS_SignerInfo *sk) { return
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_SignerInfo * sk_CMS_SignerInfo_dup(const struct stack_st_CMS_SignerInfo *sk) { return
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
(struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_deep_copy(const struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_copyfunc copyfunc, sk_CMS_SignerInfo_freefunc freefunc) { return
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
(struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
never executed: return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
} static inline sk_CMS_SignerInfo_compfunc sk_CMS_SignerInfo_set_cmp_func(struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_compfunc compare) { return
never executed: return (sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
(sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
never executed: return (sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
}
0-744
18struct stack_st_CMS_RecipientEncryptedKey; typedef int (*sk_CMS_RecipientEncryptedKey_compfunc)(const CMS_RecipientEncryptedKey * const *a, const CMS_RecipientEncryptedKey *const *b); typedef void (*sk_CMS_RecipientEncryptedKey_freefunc)(CMS_RecipientEncryptedKey *a); typedef CMS_RecipientEncryptedKey * (*sk_CMS_RecipientEncryptedKey_copyfunc)(const CMS_RecipientEncryptedKey *a); static inline int sk_CMS_RecipientEncryptedKey_num(const struct stack_st_CMS_RecipientEncryptedKey *sk) { return
executed 20 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_num((const OPENSSL_STACK *)sk);
executed 20 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
} static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_value(const struct stack_st_CMS_RecipientEncryptedKey *sk, int idx) { return
executed 13 times by 1 test: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
(CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
executed 13 times by 1 test: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
} static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new(sk_CMS_RecipientEncryptedKey_compfunc compare) { return
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
(struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
} static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new_null(void) { return
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();
(struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();
} static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new_reserve(sk_CMS_RecipientEncryptedKey_compfunc compare, int n) { return
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
(struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
} static inline int sk_CMS_RecipientEncryptedKey_reserve(struct stack_st_CMS_RecipientEncryptedKey *sk, int n) { return
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
} static inline void sk_CMS_RecipientEncryptedKey_free(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }
never executed: end of block
static inline void sk_CMS_RecipientEncryptedKey_zero(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }
never executed: end of block
static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_delete(struct stack_st_CMS_RecipientEncryptedKey *sk, int i) { return
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
(CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
} static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_delete_ptr(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { return
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
(CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RecipientEncryptedKey_push(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { return
executed 7 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
executed 7 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
} static inline int sk_CMS_RecipientEncryptedKey_unshift(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { return
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_pop(struct stack_st_CMS_RecipientEncryptedKey *sk) { return
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
(CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
} static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_shift(struct stack_st_CMS_RecipientEncryptedKey *sk) { return
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
(CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
} static inline void sk_CMS_RecipientEncryptedKey_pop_free(struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }
never executed: end of block
static inline int sk_CMS_RecipientEncryptedKey_insert(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr, int idx) { return
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
} static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_set(struct stack_st_CMS_RecipientEncryptedKey *sk, int idx, CMS_RecipientEncryptedKey *ptr) { return
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
(CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
never executed: return (CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
} static inline int sk_CMS_RecipientEncryptedKey_find(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { return
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RecipientEncryptedKey_find_ex(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { return
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline void sk_CMS_RecipientEncryptedKey_sort(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }
never executed: end of block
static inline int sk_CMS_RecipientEncryptedKey_is_sorted(const struct stack_st_CMS_RecipientEncryptedKey *sk) { return
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RecipientEncryptedKey * sk_CMS_RecipientEncryptedKey_dup(const struct stack_st_CMS_RecipientEncryptedKey *sk) { return
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
(struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_deep_copy(const struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_copyfunc copyfunc, sk_CMS_RecipientEncryptedKey_freefunc freefunc) { return
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
(struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
never executed: return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
} static inline sk_CMS_RecipientEncryptedKey_compfunc sk_CMS_RecipientEncryptedKey_set_cmp_func(struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_compfunc compare) { return
never executed: return (sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
(sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
never executed: return (sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
}
0-20
19struct stack_st_CMS_RecipientInfo; typedef int (*sk_CMS_RecipientInfo_compfunc)(const CMS_RecipientInfo * const *a, const CMS_RecipientInfo *const *b); typedef void (*sk_CMS_RecipientInfo_freefunc)(CMS_RecipientInfo *a); typedef CMS_RecipientInfo * (*sk_CMS_RecipientInfo_copyfunc)(const CMS_RecipientInfo *a); static inline int sk_CMS_RecipientInfo_num(const struct stack_st_CMS_RecipientInfo *sk) { return
executed 149 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_num((const OPENSSL_STACK *)sk);
executed 149 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
} static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_value(const struct stack_st_CMS_RecipientInfo *sk, int idx) { return
executed 107 times by 1 test: return (CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
(CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
executed 107 times by 1 test: return (CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
Executed by:
  • libcrypto.so.1.1
} static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new(sk_CMS_RecipientInfo_compfunc compare) { return
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
(struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
} static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new_null(void) { return
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();
(struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();
} static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new_reserve(sk_CMS_RecipientInfo_compfunc compare, int n) { return
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
(struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
} static inline int sk_CMS_RecipientInfo_reserve(struct stack_st_CMS_RecipientInfo *sk, int n) { return
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
} static inline void sk_CMS_RecipientInfo_free(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }
never executed: end of block
static inline void sk_CMS_RecipientInfo_zero(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }
never executed: end of block
static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_delete(struct stack_st_CMS_RecipientInfo *sk, int i) { return
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
(CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
} static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_delete_ptr(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { return
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
(CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RecipientInfo_push(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { return
executed 39 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
executed 39 times by 1 test: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
Executed by:
  • libcrypto.so.1.1
} static inline int sk_CMS_RecipientInfo_unshift(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { return
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_pop(struct stack_st_CMS_RecipientInfo *sk) { return
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
(CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
} static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_shift(struct stack_st_CMS_RecipientInfo *sk) { return
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
(CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
} static inline void sk_CMS_RecipientInfo_pop_free(struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }
never executed: end of block
static inline int sk_CMS_RecipientInfo_insert(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr, int idx) { return
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
} static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_set(struct stack_st_CMS_RecipientInfo *sk, int idx, CMS_RecipientInfo *ptr) { return
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
(CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
never executed: return (CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
} static inline int sk_CMS_RecipientInfo_find(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { return
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RecipientInfo_find_ex(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { return
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline void sk_CMS_RecipientInfo_sort(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }
never executed: end of block
static inline int sk_CMS_RecipientInfo_is_sorted(const struct stack_st_CMS_RecipientInfo *sk) { return
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RecipientInfo * sk_CMS_RecipientInfo_dup(const struct stack_st_CMS_RecipientInfo *sk) { return
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
(struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_deep_copy(const struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_copyfunc copyfunc, sk_CMS_RecipientInfo_freefunc freefunc) { return
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
(struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
never executed: return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
} static inline sk_CMS_RecipientInfo_compfunc sk_CMS_RecipientInfo_set_cmp_func(struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_compfunc compare) { return
never executed: return (sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
(sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
never executed: return (sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
}
0-149
20struct stack_st_CMS_RevocationInfoChoice; typedef int (*sk_CMS_RevocationInfoChoice_compfunc)(const CMS_RevocationInfoChoice * const *a, const CMS_RevocationInfoChoice *const *b); typedef void (*sk_CMS_RevocationInfoChoice_freefunc)(CMS_RevocationInfoChoice *a); typedef CMS_RevocationInfoChoice * (*sk_CMS_RevocationInfoChoice_copyfunc)(const CMS_RevocationInfoChoice *a); static inline int sk_CMS_RevocationInfoChoice_num(const struct stack_st_CMS_RevocationInfoChoice *sk) { return
executed 60 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
OPENSSL_sk_num((const OPENSSL_STACK *)sk);
executed 60 times by 1 test: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);
Executed by:
  • libcrypto.so.1.1
} static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_value(const struct stack_st_CMS_RevocationInfoChoice *sk, int idx) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
(CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);
} static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new(sk_CMS_RevocationInfoChoice_compfunc compare) { return
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
(struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);
} static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new_null(void) { return
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();
(struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();
} static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new_reserve(sk_CMS_RevocationInfoChoice_compfunc compare, int n) { return
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
(struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);
} static inline int sk_CMS_RevocationInfoChoice_reserve(struct stack_st_CMS_RevocationInfoChoice *sk, int n) { return
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);
} static inline void sk_CMS_RevocationInfoChoice_free(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }
never executed: end of block
static inline void sk_CMS_RevocationInfoChoice_zero(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }
never executed: end of block
static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_delete(struct stack_st_CMS_RevocationInfoChoice *sk, int i) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
(CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);
} static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_delete_ptr(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
(CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RevocationInfoChoice_push(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { return
never executed: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RevocationInfoChoice_unshift(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { return
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_pop(struct stack_st_CMS_RevocationInfoChoice *sk) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
(CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);
} static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_shift(struct stack_st_CMS_RevocationInfoChoice *sk) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
(CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);
} static inline void sk_CMS_RevocationInfoChoice_pop_free(struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }
never executed: end of block
static inline int sk_CMS_RevocationInfoChoice_insert(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr, int idx) { return
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);
} static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_set(struct stack_st_CMS_RevocationInfoChoice *sk, int idx, CMS_RevocationInfoChoice *ptr) { return
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
(CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
never executed: return (CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);
} static inline int sk_CMS_RevocationInfoChoice_find(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { return
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline int sk_CMS_RevocationInfoChoice_find_ex(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { return
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);
} static inline void sk_CMS_RevocationInfoChoice_sort(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }
never executed: end of block
static inline int sk_CMS_RevocationInfoChoice_is_sorted(const struct stack_st_CMS_RevocationInfoChoice *sk) { return
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RevocationInfoChoice * sk_CMS_RevocationInfoChoice_dup(const struct stack_st_CMS_RevocationInfoChoice *sk) { return
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
(struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);
} static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_deep_copy(const struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_copyfunc copyfunc, sk_CMS_RevocationInfoChoice_freefunc freefunc) { return
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
(struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
never executed: return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);
} static inline sk_CMS_RevocationInfoChoice_compfunc sk_CMS_RevocationInfoChoice_set_cmp_func(struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_compfunc compare) { return
never executed: return (sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
(sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
never executed: return (sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);
}
0-60
21CMS_ContentInfo *CMS_ContentInfo_new(void); void CMS_ContentInfo_free(CMS_ContentInfo *a); CMS_ContentInfo *d2i_CMS_ContentInfo(CMS_ContentInfo **a, const unsigned char **in, long len); int i2d_CMS_ContentInfo(CMS_ContentInfo *a, unsigned char **out); extern const ASN1_ITEM CMS_ContentInfo_it;-
22CMS_ReceiptRequest *CMS_ReceiptRequest_new(void); void CMS_ReceiptRequest_free(CMS_ReceiptRequest *a); CMS_ReceiptRequest *d2i_CMS_ReceiptRequest(CMS_ReceiptRequest **a, const unsigned char **in, long len); int i2d_CMS_ReceiptRequest(CMS_ReceiptRequest *a, unsigned char **out); extern const ASN1_ITEM CMS_ReceiptRequest_it;-
23int CMS_ContentInfo_print_ctx(BIO *out, CMS_ContentInfo *x, int indent, const ASN1_PCTX *pctx);-
24const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);-
25-
26BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont);-
27int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio);-
28-
29ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms);-
30int CMS_is_detached(CMS_ContentInfo *cms);-
31int CMS_set_detached(CMS_ContentInfo *cms, int detached);-
32-
33-
34-
35-
36int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms);-
37CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms);-
38int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms);-
39-
40BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms);-
41int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags);-
42int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in,-
43 int flags);-
44CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont);-
45int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags);-
46-
47int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont,-
48 unsigned int flags);-
49-
50CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,-
51 struct stack_st_X509 *certs, BIO *data,-
52 unsigned int flags);-
53-
54CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si,-
55 X509 *signcert, EVP_PKEY *pkey,-
56 struct stack_st_X509 *certs, unsigned int flags);-
57-
58int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags);-
59CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags);-
60-
61int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out,-
62 unsigned int flags);-
63CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md,-
64 unsigned int flags);-
65-
66int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms,-
67 const unsigned char *key, size_t keylen,-
68 BIO *dcont, BIO *out, unsigned int flags);-
69-
70CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher,-
71 const unsigned char *key,-
72 size_t keylen, unsigned int flags);-
73-
74int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,-
75 const unsigned char *key, size_t keylen);-
76-
77int CMS_verify(CMS_ContentInfo *cms, struct stack_st_X509 *certs,-
78 X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags);-
79-
80int CMS_verify_receipt(CMS_ContentInfo *rcms, CMS_ContentInfo *ocms,-
81 struct stack_st_X509 *certs,-
82 X509_STORE *store, unsigned int flags);-
83-
84struct stack_st_X509 *CMS_get0_signers(CMS_ContentInfo *cms);-
85-
86CMS_ContentInfo *CMS_encrypt(struct stack_st_X509 *certs, BIO *in,-
87 const EVP_CIPHER *cipher, unsigned int flags);-
88-
89int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,-
90 BIO *dcont, BIO *out, unsigned int flags);-
91-
92int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);-
93int CMS_decrypt_set1_key(CMS_ContentInfo *cms,-
94 unsigned char *key, size_t keylen,-
95 const unsigned char *id, size_t idlen);-
96int CMS_decrypt_set1_password(CMS_ContentInfo *cms,-
97 unsigned char *pass, ssize_t passlen);-
98-
99struct stack_st_CMS_RecipientInfo *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);-
100int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);-
101EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri);-
102CMS_ContentInfo *CMS_EnvelopedData_create(const EVP_CIPHER *cipher);-
103CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,-
104 X509 *recip, unsigned int flags);-
105int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);-
106int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);-
107int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,-
108 EVP_PKEY **pk, X509 **recip,-
109 X509_ALGOR **palg);-
110int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,-
111 ASN1_OCTET_STRING **keyid,-
112 X509_NAME **issuer,-
113 ASN1_INTEGER **sno);-
114-
115CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid,-
116 unsigned char *key, size_t keylen,-
117 unsigned char *id, size_t idlen,-
118 ASN1_GENERALIZEDTIME *date,-
119 ASN1_OBJECT *otherTypeId,-
120 ASN1_TYPE *otherType);-
121-
122int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri,-
123 X509_ALGOR **palg,-
124 ASN1_OCTET_STRING **pid,-
125 ASN1_GENERALIZEDTIME **pdate,-
126 ASN1_OBJECT **potherid,-
127 ASN1_TYPE **pothertype);-
128-
129int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri,-
130 unsigned char *key, size_t keylen);-
131-
132int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,-
133 const unsigned char *id, size_t idlen);-
134-
135int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,-
136 unsigned char *pass,-
137 ssize_t passlen);-
138-
139CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms,-
140 int iter, int wrap_nid,-
141 int pbe_nid,-
142 unsigned char *pass,-
143 ssize_t passlen,-
144 const EVP_CIPHER *kekciph);-
145-
146int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);-
147int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);-
148-
149int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,-
150 unsigned int flags);-
151CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags);-
152-
153int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);-
154const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);-
155-
156CMS_CertificateChoices *CMS_add0_CertificateChoices(CMS_ContentInfo *cms);-
157int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);-
158int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);-
159struct stack_st_X509 *CMS_get1_certs(CMS_ContentInfo *cms);-
160-
161CMS_RevocationInfoChoice *CMS_add0_RevocationInfoChoice(CMS_ContentInfo *cms);-
162int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl);-
163int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl);-
164struct stack_st_X509_CRL *CMS_get1_crls(CMS_ContentInfo *cms);-
165-
166int CMS_SignedData_init(CMS_ContentInfo *cms);-
167CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,-
168 X509 *signer, EVP_PKEY *pk, const EVP_MD *md,-
169 unsigned int flags);-
170EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);-
171EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);-
172struct stack_st_CMS_SignerInfo *CMS_get0_SignerInfos(CMS_ContentInfo *cms);-
173-
174void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);-
175int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,-
176 ASN1_OCTET_STRING **keyid,-
177 X509_NAME **issuer, ASN1_INTEGER **sno);-
178int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);-
179int CMS_set1_signers_certs(CMS_ContentInfo *cms, struct stack_st_X509 *certs,-
180 unsigned int flags);-
181void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk,-
182 X509 **signer, X509_ALGOR **pdig,-
183 X509_ALGOR **psig);-
184ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);-
185int CMS_SignerInfo_sign(CMS_SignerInfo *si);-
186int CMS_SignerInfo_verify(CMS_SignerInfo *si);-
187int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain);-
188-
189int CMS_add_smimecap(CMS_SignerInfo *si, struct stack_st_X509_ALGOR *algs);-
190int CMS_add_simple_smimecap(struct stack_st_X509_ALGOR **algs,-
191 int algnid, int keysize);-
192int CMS_add_standard_smimecap(struct stack_st_X509_ALGOR **smcap);-
193-
194int CMS_signed_get_attr_count(const CMS_SignerInfo *si);-
195int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid,-
196 int lastpos);-
197int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj,-
198 int lastpos);-
199X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);-
200X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);-
201int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);-
202int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si,-
203 const ASN1_OBJECT *obj, int type,-
204 const void *bytes, int len);-
205int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si,-
206 int nid, int type,-
207 const void *bytes, int len);-
208int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si,-
209 const char *attrname, int type,-
210 const void *bytes, int len);-
211void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid,-
212 int lastpos, int type);-
213-
214int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si);-
215int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid,-
216 int lastpos);-
217int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si,-
218 const ASN1_OBJECT *obj, int lastpos);-
219X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);-
220X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);-
221int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);-
222int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si,-
223 const ASN1_OBJECT *obj, int type,-
224 const void *bytes, int len);-
225int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si,-
226 int nid, int type,-
227 const void *bytes, int len);-
228int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si,-
229 const char *attrname, int type,-
230 const void *bytes, int len);-
231void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid,-
232 int lastpos, int type);-
233-
234-
235-
236int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);-
237CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,-
238 int allorfirst,-
239 struct stack_st_GENERAL_NAMES-
240 *receiptList, struct stack_st_GENERAL_NAMES-
241 *receiptsTo);-
242int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);-
243void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr,-
244 ASN1_STRING **pcid,-
245 int *pallorfirst,-
246 struct stack_st_GENERAL_NAMES **plist,-
247 struct stack_st_GENERAL_NAMES **prto);-
248-
249int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,-
250 X509_ALGOR **palg,-
251 ASN1_OCTET_STRING **pukm);-
252struct stack_st_CMS_RecipientEncryptedKey-
253*CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri);-
254-
255int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri,-
256 X509_ALGOR **pubalg,-
257 ASN1_BIT_STRING **pubkey,-
258 ASN1_OCTET_STRING **keyid,-
259 X509_NAME **issuer,-
260 ASN1_INTEGER **sno);-
261-
262int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert);-
263-
264int CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek,-
265 ASN1_OCTET_STRING **keyid,-
266 ASN1_GENERALIZEDTIME **tm,-
267 CMS_OtherKeyAttribute **other,-
268 X509_NAME **issuer, ASN1_INTEGER **sno);-
269int CMS_RecipientEncryptedKey_cert_cmp(CMS_RecipientEncryptedKey *rek,-
270 X509 *cert);-
271int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk);-
272EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri);-
273int CMS_RecipientInfo_kari_decrypt(CMS_ContentInfo *cms,-
274 CMS_RecipientInfo *ri,-
275 CMS_RecipientEncryptedKey *rek);-
276-
277int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,-
278 ASN1_OCTET_STRING *ukm, int keylen);-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2