@@ -11,7 +11,7 @@ inputs:
1111 description : ' List of tests to run (space-separated IDs) or "all" for all tests. Available IDs: pct-enabled,
1212 pct-enabled-broken, custom-alloc-heap, custom-zeroize, native-cap-ON, native-cap-OFF, native-cap-ID_AA64PFR1_EL1,
1313 native-cap-CPUID_AVX2, no-asm, serial-fips202, custom-randombytes, custom-memcpy, custom-memset, custom-stdlib,
14- nblocks-1, nblocks-2, nblocks-4'
14+ nblocks-1, nblocks-2, nblocks-4, keygen-only, encaps-only, decaps-only, keygen-encaps, keygen-decaps, encaps-decaps '
1515 required : false
1616 default : ' all'
1717 opt :
@@ -276,3 +276,93 @@ runs:
276276 examples : false # Some examples use a custom config themselves
277277 alloc : false # Requires custom config
278278 rng_fail : true
279+ - name : " Keygen-only API"
280+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'keygen-only') }}
281+ uses : ./.github/actions/multi-functest
282+ with :
283+ gh_token : ${{ inputs.gh_token }}
284+ compile_mode : native
285+ cflags : " -DMLK_CONFIG_NO_ENCAPS_API -DMLK_CONFIG_NO_DECAPS_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
286+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
287+ func : true
288+ kat : true
289+ acvp : true
290+ stack : true
291+ rng_fail : true
292+ opt : ${{ inputs.opt }}
293+ examples : true
294+ - name : " Encaps-only API"
295+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'encaps-only') }}
296+ uses : ./.github/actions/multi-functest
297+ with :
298+ gh_token : ${{ inputs.gh_token }}
299+ compile_mode : native
300+ cflags : " -DMLK_CONFIG_NO_KEYPAIR_API -DMLK_CONFIG_NO_DECAPS_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
301+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
302+ func : true
303+ kat : true
304+ acvp : true
305+ stack : true
306+ rng_fail : true
307+ opt : ${{ inputs.opt }}
308+ examples : true
309+ - name : " Decaps-only API"
310+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'decaps-only') }}
311+ uses : ./.github/actions/multi-functest
312+ with :
313+ gh_token : ${{ inputs.gh_token }}
314+ compile_mode : native
315+ cflags : " -DMLK_CONFIG_NO_KEYPAIR_API -DMLK_CONFIG_NO_ENCAPS_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
316+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
317+ func : true
318+ kat : true
319+ acvp : true
320+ stack : true
321+ rng_fail : true
322+ opt : ${{ inputs.opt }}
323+ examples : true
324+ - name : " Keygen+Encaps API (no decaps)"
325+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'keygen-encaps') }}
326+ uses : ./.github/actions/multi-functest
327+ with :
328+ gh_token : ${{ inputs.gh_token }}
329+ compile_mode : native
330+ cflags : " -DMLK_CONFIG_NO_DECAPS_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
331+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
332+ func : true
333+ kat : true
334+ acvp : true
335+ stack : true
336+ rng_fail : true
337+ opt : ${{ inputs.opt }}
338+ examples : true
339+ - name : " Keygen+Decaps API (no encaps)"
340+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'keygen-decaps') }}
341+ uses : ./.github/actions/multi-functest
342+ with :
343+ gh_token : ${{ inputs.gh_token }}
344+ compile_mode : native
345+ cflags : " -DMLK_CONFIG_NO_ENCAPS_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
346+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
347+ func : true
348+ kat : true
349+ acvp : true
350+ stack : true
351+ rng_fail : true
352+ opt : ${{ inputs.opt }}
353+ examples : true
354+ - name : " Encaps+Decaps API (no keygen)"
355+ if : ${{ inputs.tests == 'all' || contains(inputs.tests, 'encaps-decaps') }}
356+ uses : ./.github/actions/multi-functest
357+ with :
358+ gh_token : ${{ inputs.gh_token }}
359+ compile_mode : native
360+ cflags : " -DMLK_CONFIG_NO_KEYPAIR_API -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
361+ ldflags : " -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
362+ func : true
363+ kat : true
364+ acvp : true
365+ stack : true
366+ rng_fail : true
367+ opt : ${{ inputs.opt }}
368+ examples : true
0 commit comments